You'll find here various tips and tricks on Networks, GNU/Linux and security
openssl s_client -connect www.somesite:443
init=bin/sh
mount -o remount,rw /
This will remount the root partition in read write mode
passwd
sync
GET / HTTP/1.1 Host: host.domain.tld Authorization: BASIC //base 64 password//
php -r "echo base64_encode('login:pass') ."n";"
First you will have to install the GNU/Screen The find out the virtual device to use :
#dmesg | egrep --color 'serial|ttyS' serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Then, just launch screen with the following command
# screen /dev/ttyXXX BaudRate [option]
Example:
screen /dev/ttyS0 19200,cs8
#loadkeys fr
#setxkbmap fr
setenforce 0
setenforce 0
Then edit :
SELINUX=disabled
ifconfig eth1 down ifconfig eth1 hw ether AA:BB:CC:11:22:33 ifconfig eth1 up
cp -p /var/log/wtmp /var/backup/ > /var/log/wtmp
This allow you to disable a user's password without disabling the account. The user wont be able to login.
passwd -d username