Analysis of penetration techniques-N methods for uploading files through cmd
0x00 Preface
During the penetration test, files are often uploaded to the target host. I encountered this problem in the recent study and test process, only the cmd shell
Http://course.cug.edu.cn/netinfo/Chapter06/6.6.3.1.htmFile Transfer Protocol (FTP) is an online service similar to telnet. Allows users to obtain a copy of a file from a remote computer and transmit it to a local computer or a copy of the file on
FTP is short for File Transport Protocol, which enables customers connected to the server to transmit files between the server and the client. In addition to the WWW Service, FTP is also the most widely used service.
FTP Server Configuration
There are many FTP commands in cmd, which are commonly used:
FTP 192.168.1.3 login FTP;
Dir: displays the remote host directory;
CD remote-Dir: Enter the remote host directory;
Help [cmd]: displays the help information of the FTP Internal Command
Hacker Common Command DaquanNET user Heibai Lovechina/add plus one heibai password for Lovechinanet localgroup Administrators heibai/add him into the administrator groupnet start Telnet on each other's Telnet serviceNET use z:\127.0.0.1c$ map each
100 cmd commands commonly used under Windows and 100 cmd commands commonly used for common operations
gpedit.msc-– Group Policy2. Sndrec32 ——-Recorder3. Nslookup ——-IP Address Detector is a command-line tool that monitors whether DNS servers in
=============================================================================Note: cmd command a lot, need to use when you can query!CMD command: Start-to-run, type cmd or command (you can see the system version, the file system version on the
CMD command: Start-to-run, type cmd or command (you can see the system version, the file system version on the command line)CHCP modifying the default character setCHCP 936 Default ChineseChcp 650011. Appwiz.cpl: Programs and functions2. Calc: Start
CMD Run Command
Start → run → CMD → enter the following command:
Gpedit. msc ----- Group Policy sndrec32 ------- Recorder
Nslookup ------- IP address detector e xplorer ------- open the Resource Manager
Logoff --------- logout command
Turn from: http://topic.csdn.net/u/20110417/03/85f52649-064f-46ad-b466-f9a4c154e29b.html?seed=2023046095&r= 75217708#r_75217708
NET use $ ">\\ip\ipc$Content$nbsp;" "/USER:" Establish an IPC NULL linkNET use $ ">\\ip\ipc$Content$nbsp;" Password
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.