Skip to content

Instantly share code, notes, and snippets.

View nongiach's full-sized avatar
💭
privesc

nongiach

💭
privesc
View GitHub Profile
# add this to your ~/.config/i3/config
# Author: @chaignc
bindsym $mod+shift+p exec "i3-nagbar -t warning -m 'HDMI' \
-B 'Disable HDMI' 'xrandr --output HDMI-1 --off' \
-B 'Duplicate' 'xrandr --output HDMI-1 --auto' \
-B 'HDMI at right' 'xrandr --output HDMI-1 --auto --right-of eDP-1' \
-B 'HDMI at left' 'xrandr --output HDMI-1 --auto --left-of eDP-1' \
"
bindsym $mod+p move workspace to output right
# Author: @chaignc
# DON't FORGET TO CHANGE THE PASSWORD !!
# Add the following line into your ~/.bashrc
alias smbcreate='docker run -it -p 139:139 -p 445:445 -v $PWD/smb:/mount \
dperson/samba -p \
-u "user;badpass" \
-s "mount;/mount;yes;no;no;user"'
# This alias allows you to instantly share your current directory using smb
archlinux $ cat help_pacman.txt
critic update:
sudo pacman -Sy bash gnupg readline
downgrade: // normaly the cache is not cleared
# cd /var/cache/pacman/pkg/
# pacman -U <file_name_of_the_package>
https://github.com/mozilla/mig/ Distributed & real time digital forensics at the speed of the cloud http://mig.mozilla.org/
https://github.com/fireeye/flare-floss FireEye Labs Obfuscated String Solver
https://github.com/EricZimmerman/bstrings A better strings utility!
https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/wp-windows-management-instrumentation.pdf
https://github.com/kevthehermit/VolUtility VolUtility - Web App for Volatility framework
KeeFarce - Extract KeePass passwords from memory
https://github.com/JPCERTCC/LogonTracer
https://github.com/google/timesketch
type C:\users\%username%\appdata\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt
@nongiach
nongiach / i3 kali
Last active January 14, 2019 22:33
alias i="apt-get install"
alias s="apt-cache search"
apt-get install i3
# image viewer
apt-get install nitrogen
# screenshot
apt-get install scrot
# network manager
apt-get install network-manager-gnome
apt-get install ufw
ufw default deny incoming
ufw enable
For Connection from target to you port:
ufw allow from $target to…
Firefox:
Information Leak CVE-2018-12387 https://blogs.securiteam.com/index.php/archives/3766
Chrome:
v8 documentation https://github.com/v8/v8/wiki/CodeStubAssembler-Builtins
ALL:
https://github.com/Escapingbug/awesome-browser-exploit
twitter:
set undofile
" ;; to save instead of <Esc>:w<CR>
nmap ;; :w<CR>
imap ;; <Esc>:w<CR>
" ;q to quit instead of <Esc>:q<CR>
nmap ;q :q<CR>
imap ;q <Esc>:q<CR>
" ;x to save and quit instead of <Esc>:x<CR>
nmap ;x :x<CR>
imap ;x <Esc>:x<CR>
let g:Lf_CommandMap = {'<C-x>': ['<C-s>'],
\ '<C-]>': ['<C-v>']}
nnoremap <space>f :LeaderfFunctionAll<cr>
nnoremap <space>b :LeaderfBufferAll<cr>
nnoremap <space>e :LeaderfFileFullScreen<cr>
nnoremap <space>m :LeaderfMru<cr>
nnoremap <space>l :LeaderfLineAll<cr>