This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type C:\users\%username%\appdata\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install ufw | |
ufw default deny incoming | |
ufw enable | |
For Connection from target to you port: | |
ufw allow from $target to… |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |