Invisible ssh connection ,now root admin can't trace.
hello everyone
hello everyone
How r u?
So today i post a another post on SSH. Bcz SSH is the easy way to hack, but when we use SSH on someone SERVER thn its definetly possible that he can TRACE our IP.
But thanks to PakBugs that one of there dedicated member implenent this trick.
In the worse case if you have to ssh on a box, do it every time
with no tty allocation
Code:
In the worse case if you have to ssh on a box, do it every time
with no tty allocation
Code:
ssh -T hacker@host
If you connect to a host with this way, a command like "w" will not show your connection. Better, add 'bash -i' at the end of the command to simulate a shell
Code:
Code:
ssh -T hacker@gnom.cc /bin/bash -i
Another trick with ssh is to use the -o option which allow you to
specify a particular know_hosts file
(by default it's ~/.ssh/know_hosts).
The trick is to use -o with /dev/null:
Code:
ssh -o UserKnownHostsFile=/dev/null -T hacker@host /bin/bash -i
With this trick the IP of the box you connect to won't be logged in know_hosts.
If you get error : syntax error near unexpected token `;'
ignore it ,and do this command :
Code:
If you get error : syntax error near unexpected token `;'
ignore it ,and do this command :
Code:
export PROMPT_COMMAND='{ date "+: %c; ${USER} ${USERIP} `history 1 | { read x cmd; echo "$cmd"; }`"; } >> /var/log/.cmdlog'
and :
Code:
Code:
export PROMPT_COMMAND='{ date "+: %c; ${USER} ${USERIP} `history 1 | { read x cmd; echo "$cmd"; }`"; } >> /dev/null'
then :
Code:
Code:
export TERM=xterm
now you can do what y0 want in server without root admin see y0 and know what's happen
y0 can use "w,top" command to see
0 comments:
Post a Comment