Uncategorized

vimdiff

do Gets changes from another window dp Put changes from current to another window ]c Jumps to next change [c Jumps to previous change CTRL …

vimdiff Read More »

OSCP day 3

Locate Finding fileslocate kim.txt Updateupdatedb e.g.locate nc.exe Which See manual for whichman which e.g.which sbd find Manualman find Find recursively¬†find . -name php.ini e.g.find ~/ …

OSCP day 3 Read More »

Kali setup for the first time

Setup screen resolution sudo nano /etc/default/grub GRUB_DEFAULT=0GRUB_TIMEOUT=5GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920×1080″GRUB_CMDLINE_LINUX=”” sudo update-grub sudo reboot Setup SSH Check if already …

Kali setup for the first time Read More »

fail2ban on Ubuntu

Configure my own jail sudo nano /etc/fail2ban/jail.local[mysqld-auth]enabled = truelogpath = /var/log/mysql/query.logfilter = mysqld-authport = 3306backend = %(mysql_backend)s Enable logging for mysql sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf# Be …

fail2ban on Ubuntu Read More »