Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Question about Pivoting

Hello guys. How are you doing?
So here is the scenario:

Backtrack is connected to Windows 8
Windows 8 is connected to Linux Server
Backtrack cannot communicate with Linux Server because they are not in the same subnet.
Using the latest java exploit I can get System in the Windows 8 Machine.

Question: There are many ways how to do pivoting, metasploit, ssh, ncat, proxychain.
I have tried all these but I haven't been able to scan the Linux Machine. For some reasons metasploit scan comes out blank. Do you guys have any idea what to do in order to get direct access from my backtrack via windows to the linux serer such that I can run commands on my Backtrack directly against Linux Server?
theres your problem. you said windows 8

windows 8 =shit
(Nov 15, 2012 06:59 PM)Vile Soul Wrote:  theres your problem. you said windows 8

windows 8 =shit

I agree with you, I really hate it. But this is not the answer I am looking for :)
(Nov 15, 2012 06:57 PM)Lian Wrote:  Hello guys. How are you doing?
So here is the scenario:

Backtrack is connected to Windows 8
Windows 8 is connected to Linux Server
Backtrack cannot communicate with Linux Server because they are not in the same subnet.
Using the latest java exploit I can get System in the Windows 8 Machine.

Question: There are many ways how to do pivoting, metasploit, ssh, ncat, proxychain.
I have tried all these but I haven't been able to scan the Linux Machine. For some reasons metasploit scan comes out blank. Do you guys have any idea what to do in order to get direct access from my backtrack via windows to the linux serer such that I can run commands on my Backtrack directly against Linux Server?
now,when backtrack connect to window 8 ,you should use feature route add in metasploit to add subnet,and then you can exploit linux server
syntax :
metepreter>run get_local_subnets (get subnet)
msf>route add [gateway] [netmask] [sesseion id]
msf>route print (printing the resuft)

Regards
Yes as I already said above I am familiar with pivoting and I know how to use route command. Question is how to I run lets say a python script on my backtrack against let's say port 10.000 on Linux Server?
in this case,you should use payload sock4a
firstly ,setting SRVHOST is your IP,SRVPORT is your port
secondly you using route add feature

then,on backtrack,you using proxychain to load sock
ex : proxychain nmap -A -sS -sV -PN [IP server linux]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by [BLANK]Dec 18, 2017 12:04 PM 1 142 Dec 18, 2017 12:04 PM
Last Post: CyberStrike