This file contains 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
Assetnote is a new subdomains supervision tools which allow for real-time notifications about | |
newlly added subdomains | |
The tool is especially usefull for bug bounty | |
As I'm starting playing in bug bounties the tool seems extremelly apealing | |
The project can be found at https://github.com/infosec-au/assetnote | |
# installation # | |
/** My VPS is runing Ubuntu LTS 14.04 **/ |
This file contains 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
// Use CVT to generate standard X config line | |
cvt -v 1366 768 60 | |
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz | |
Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync | |
// use xrandr | |
sudo xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync | |
// identify the correct "screen" identifier | |
xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/" |
This file contains 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
certbot certonly --webroot -w /var/www/example -d example.com -d www.example.com -w /var/www/thing -d thing.is -d m.thing.is |
This file contains 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
if faut enlever tout le branchement sur les PIN 0 et 1 | |
sinon le transfer de sketch marche pas | |
PIN 0 => cable vert | |
PIN 1 => cable blanc | |
PIN 1 V => rouge | |
PIN 1 G => noire |
This file contains 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
statsticmethod and classmethod | |
super (mro and how it works) | |
generator and list | |
mixin class in python |
This file contains 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
#Lab architecture | |
Win7_dom - lab\domainpc | |
Win7 - workgroup | |
Win2008 - lab\domainsrv | |
Win2012 -Domain Controller | |
#Setup | |
vagrant init opentable/win-2012r2-standard-amd64-nocm; vagrant up --provider virtualbox | |
vagrant box add win7-ie11 http://aka.ms/vagrant-win7-ie11 | |
vagrant init win7-ie11 |
This file contains 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
#HP Microproliant GEN8 - Ubuntu 16.04 | |
#prevent apt from using IPV6 | |
Append the following to /etc/gai.conf | |
precedence ::ffff:0:0/96 100 | |
apt-get install console-common | |
sudo dpkg-reconfigure console-data | |
#vim /etc/network/interfaces |
This file contains 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://blog.scrt.ch/2015/11/16/bypassing-tpm-based-bitlocker/ | |
https://github.com/vvalien/win_exp | |
https://github.com/foxglovesec/Potato | |
#http://docs.kali.org/kali-on-arm/install-kali-linux-arm-raspberry-pi |
This file contains 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
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next | |
sudo apt-get update | |
sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard |
This file contains 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
# Start the new service and enable it on boot | |
systemctl --system daemon-reload | |
systemctl start mongod.service | |
systemctl enable mongod.service | |
mongorestore -d pstm -c pastes --dir=/data/dumpmon/dump/pstm/pastes.bson --host=127.0.0.1 | |
mongodump | |
db.pastes.find({}).sort({_id:-1}).limit(10) | |
db.pastes.count() | |
show dbs |
OlderNewer