Closed Lemonpartyy closed 7 years ago
Command Line Parameters:
-d
--debug`: Debug mode creates a log file in temp directory logging all activities of the injected code. [true, false]-n
--network
: Identification string of the network adapter to bind.-a
--attach
: Process identification number of the process to attach. OR-e
--execute
: Address of the executable file to start.-c
--args
: Arguments to be sent to the executable file.-t
--delay
: Delay in milliseconds before trying to inject the code.Network identification is the network GUID. To get those you can run the following commands in the CMD:
net start "Wired AutoConfig"
net start "WLAN AutoConfig"
netsh lan show interfaces
netsh wlan show interfaces
Or use the following in a PowerShell window:
[System.Net.NetworkInformation.NetworkInterface]::GetAllNetworkInterfaces()
Or you can use the registry and read them from here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\NetworkCards
Example for attaching to an already running process: (PID 1234
)
NetworkAdapterSelector.Hook.exe --network "{ABCDEFGH-0000-0000-0000-000000000000}" --attach 1234
Example for starting a new application:
NetworkAdapterSelector.Hook.exe --network "{ABCDEFGH-0000-0000-0000-000000000000}" --execute "C:\Windows\System32\notepad.exe" -t 1000
Thank you very much for this constructive post
May i ask you again, if i do not discract you NetworkAdapterSelector.Hook.exe --network "{ABCDEFGH-0000-0000-0000-000000000000}" --execute "C:\Windows\System32\notepad.exe" --delay 1000 -c " -width 800 -height 600 " This is the correct use of args option? I can not figure this out
Yes, this should work, do you have any problem with it?
My apologies, it's work perfect, i was a bit inconsiderate, thank you.
Hello, can some1 advice how can i bind my adapter, using shortcut (like forcebindip) Or give me please example