Solved

Kali Linux meterpreter session

Posted on 2014-12-23
3
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

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

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

Open in new window

0
 
LVL 64

Assisted Solution

by:btan
btan earned 250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

729 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