Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Kali Linux meterpreter session

Posted on 2014-12-23
3
Medium Priority
?
268 Views
Last Modified: 2014-12-29
Experts,

Using kali Linux I am able to get a meterpreter session using reverse_tcp against my lab windows 7 computer.

I want be able to add file1.txt in folder c:\payroll

I can CD into c:\payroll but can't figure out how to add a text document. What is the command to do that?
0
Comment
Question by:trojan81
3 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 1000 total points
ID: 40516747
Try -

cd c:\payroll 
touch test.txt
echo test123 >> test.txt

Open in new window

0
 
LVL 65

Assisted Solution

by:btan
btan earned 1000 total points
ID: 40517222
meterpreter has "upload", see http://www.offensive-security.com/metasploit-unleashed/Meterpreter_Basics#upload
you can check out more commands using meterpreter > help, below is some common cmd that can come in handy
http://www.hacking-tutorial.com/tips-and-trick/13-metasploit-meterpreter-file-system-command-you-should-know/
0
 

Author Comment

by:trojan81
ID: 40522296
thank you both
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been an avid user and supporter of Malwarebytes Premium Version 2.x for years. It's an excellent product that runs alongside just about any Anti-Virus application without issues. It seems to have an uncanny ability to pick up many things that A…
Phishing emails are a popular malware delivery vehicle for attack.  While there are many ways for an attacker to increase the chances of success for their phishing emails, one of the most effective methods involves spoofing the message to appear to …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question