Hack Forums
access mutiple words folder with metasploit - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: access mutiple words folder with metasploit (/showthread.php?tid=5743322)



access mutiple words folder with metasploit - koopi - Oct 26, 2017

Hi,


I'm having a shell (android phone) and I want to access (with metasploit) to a folder called "System data". the directory located in DCIM.

I'm typing -   cd /sdcard/DCIM/System data/ and it not entering to the folder. In usual csaes when the folder is called with single word it works. 

what is the problem??


RE: access mutiple words folder with metasploit - CyberStrike - Oct 26, 2017

(Oct 26, 2017 08:48 AM)koopi Wrote:  Hi,


I'm having a shell (android phone) and I want to access (with metasploit) to a folder called "System data". the directory located in DCIM.

I'm typing -   cd /sdcard/DCIM/System data/ and it not entering to the folder. In usual csaes when the folder is called with single word it works. 

what is the problem??

 cd /sdcard/DCIM/System/data/

try that


RE: access mutiple words folder with metasploit - Faith Connors - Oct 26, 2017

put the path in quotes. spaces indicate the next argument if you dont.

also remember that unix is case sensitive.

(Oct 26, 2017 10:05 AM)sirru5h Wrote:   cd /sdcard/DCIM/System/data/

try that

this wont work and is a completely different path.


RE: access mutiple words folder with metasploit - koopi - Oct 26, 2017

Thanks guys!

I will try


RE: access mutiple words folder with metasploit - CyberStrike - Oct 26, 2017

I dunno I've used the slash before only resource I found is here https://forums.hak5[.]org/topic/38203-meterpreter-directory-browsing-bug/ maybe it changed a single quote would be simpler


RE: access mutiple words folder with metasploit - Molino. - Oct 26, 2017

Do
Code
cd /sdcard/DCIM/System\ data/

that should work. The backslash escapes the space...


RE: access mutiple words folder with metasploit - CyberStrike - Oct 26, 2017

of course like a goon I put in a / thank you for the correction guys


RE: access mutiple words folder with metasploit - Faith Connors - Oct 26, 2017

(Oct 26, 2017 10:39 AM)sirru5h Wrote:  of course like a goon I put in a / thank you for the correction guys

Yeah only backslashes can be used to escape things, and you cant eliminate the character youre escaping either.