flat assembler
Message board for the users of flat assembler.

Index > Windows > DETOUR, HOOK, DLL imports change and any code INTERCEPTION!

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
Pirata Derek



Joined: 31 Oct 2008
Posts: 259
Location: Italy
Pirata Derek 04 Dec 2008, 12:59
Who knows the A.P.I.s i should use to make VERY RAW network packets?
(Some driver A.P.I.s that work directly with the adapter)

For example:
I wanto to build an ethernet packet with my own implemented protocol to let my programs comunicate together only


Last edited by Pirata Derek on 04 Dec 2008, 13:04; edited 1 time in total
Post 04 Dec 2008, 12:59
View user's profile Send private message Send e-mail Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Dec 2008, 13:03
Post 04 Dec 2008, 13:03
View user's profile Send private message Reply with quote
Pirata Derek



Joined: 31 Oct 2008
Posts: 259
Location: Italy
Pirata Derek 22 Jul 2009, 12:08
I'm still finding the specifications (parameters) to make packet.dll functions work using FASM:

1) PacketGetAdaptersName
2) PacketOpenAdapter

3) POSSIBLE ALL PACKET EXPORTS

The MSDN didn't find my requested functions...
Can someone help me?
Post 22 Jul 2009, 12:08
View user's profile Send private message Send e-mail Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 22 Jul 2009, 16:51
Do you mean http://www.winpcap.org/docs/docs_41b5/html/group__packetapi.html ?

My WinXP has installed this one: packet.dll (NT5) Dynamic Link Library - Copyright © 2005-2007 CACE Technologies. Copyright © 1999-2005 NetGroup, Politecnico di Torino.

So I think MSDN won't help much.
Post 22 Jul 2009, 16:51
View user's profile Send private message Reply with quote
Pirata Derek



Joined: 31 Oct 2008
Posts: 259
Location: Italy
Pirata Derek 23 Jul 2009, 09:54
Yes, this library, so i can make a program hat comunicates using its own method.

Always i try to make the right invokes to library functions, but nothing.
Post 23 Jul 2009, 09:54
View user's profile Send private message Send e-mail Reply with quote
blacky



Joined: 06 Apr 2006
Posts: 32
Location: JA
blacky 05 Oct 2009, 23:19
Pirata, you said the system restarts? no BSOD? Also why r u using PushD? perhaps your mistake is a stack invalidation.
Post 05 Oct 2009, 23:19
View user's profile Send private message MSN Messenger Reply with quote
Pirata Derek



Joined: 31 Oct 2008
Posts: 259
Location: Italy
Pirata Derek 06 Oct 2009, 06:47
I resolved the BSoD (caused by execution of INT instruction).

Some days after, i substituted the INT instruction with the corresponding CALL (pointing the same interrupt service routine) and syser kernel debugger didn't crash no more... Very Happy

Maybe:
The INT instruction automatically clears the Interrupts Flags and then all interruptions syser kernel debugger needs to work (interruptions from hardware like mouse and keyboard)
Infact the CLI instruction causes a crash when debugging with syser.

Thanks for interesting in my thread.
Post 06 Oct 2009, 06:47
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.