Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
hm?

Radivan corshinecorshine

:octocat:
hm?
View GitHub Profile
View trick-to-stay-as-king.md

Trick to stay as king on KOTH from Tryhackme.

Method 1

#!/bin/bash
while :
do
        eval "echo [usernameHere] >> /root/king.txt"
        eval " > /root/king.txt"
done
View virtualbox-modprobe-post-installations-arch.md
  • sudo modprobe -a vboxdrv
  • sudo vim /etc/modules-load.d/virtualbox.conf
  • sudo gpasswd -a $USER vboxusers
View markdown-cheatsheet
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links
View autostart-tmux-with-alacritty.md

Autostart tmux when open terminal (Alacritty)

  • alacritty -e bash -c "tmux -q has-session && exec tmux attach-session -d || exec tmux new-session -n$USER -s$USER@$HOSTNAME"
View installation-better-discord.md

Installation and usage

Git clone this repo: git clone https://github.com/Cr3atable/LinuxED/ in a terminal. cd into the newly cloned repo: cd LinuxED Execute the Python script: python3 LinuxED.py and follow the instructions. Restart Discord entirely. That's it! EnhancedDiscord is now installed.

View gofile-api.md
View Wireless.pentest.cheat.sheet.md

#Wireless Penetration Testing Cheat Sheet

##WIRELESS ANTENNA

  • Open the Monitor Mode
root@uceka:~# ifconfig wlan0mon down
root@uceka:~# iwconfig wlan0mon mode monitor
root@uceka:~# ifconfig wlan0mon up
View chisel-port-forwarding
## Chisel norm mode
on attacker: ./chisel_1.7.0-rc7_linux_amd64 server -p 1337 --reverse
on victim: .\chisel.exe client 10.10.14.134:1337 R:1337:127.0.0.1:1337
View generate-keystore-truststore.sh
#Author Corshine
#Github: github.com/rdvcorshine/
#!/bin/bash
PASSWORD=test1234
VALIDITY=365
keytool -keystore kafka.server.keystore.jks -alias localhost -validity $VALIDITY -genkey
openssl req -new -x509 -keyout ca-key -out ca-cert -days $VALIDITY
keytool -keystore kafka.server.truststore.jks -alias CARoot -import -file ca-cert
keytool -keystore kafka.client.truststore.jks -alias CARoot -import -file ca-cert
View oldkaliredaf.md

Red username@hostname

  • sudo apt-get update
  • sudo apt-get install kali-root-login
  • sudo cp -f /home/kali/.bashrc /root
  • sudo passwd root
  • reboot