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
# Scan for CVE-2017-0143 MS17-010 | |
# The vulnerability used by WannaCry Ransomware | |
# | |
# 1. Use @calderpwn's script | |
# http://seclists.org/nmap-dev/2017/q2/79 | |
# | |
# 2. Save it to Nmap NSE script directory | |
# Linux - /usr/share/nmap/scripts/ or /usr/local/share/nmap/scripts/ | |
# OSX - /opt/local/share/nmap/scripts/ | |
# |
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
Install bind 9.9 to debian 7 #tested support CAA | |
mkdir -p /opt/source/ | |
cd /opt/source | |
#install Dependencies | |
apt-get update && apt-get install build-essential gcc libcrypto++-dev libssl1.0.0 libssl-dev | |
#Download Tarball & extrack | |
wget wget https://openssl.org/source/openssl-1.0.2e.tar.gz && tar -zxvf openssl-1.0.2e.tar.gz |
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
first off all, let windows use subsystem of linux, you can go here >>> https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ | |
and then go to firehol netdata https://github.com/firehol/netdata/wiki/Installation#x86_64-pre-built-binary-for-any-linux | |
and follow this step | |
1. open windows+R and type bash | |
2. do at root(optional) | |
3. lookinto "x86_64 pre-built binary for any Linux" | |
4. DO this "#bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh)" |
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
# update packages | |
sudo apt-get update | |
# install python and graphite dependencies | |
sudo apt-get install -y python python-dev python-virtualenv libevent-dev python-pip python-cairo python-django-tagging python-twisted python-memcache python-pysqlite2 | |
# install web server | |
sudo apt-get install -y nginx uwsgi uwsgi-plugin-python | |
# install postgresql and dependencies |
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
[EXPERIMENTAL] Openssh-Server in windows 10, without cygwin | |
DEMO VIDEO : https://youtu.be/_SEmQJsZLcI | |
requirement | |
* windows subsystem for linux | |
step installing openssh-server into windows | |
1. apt-get update | |
2. apt-get upgrade -y |
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
install unifi 5.7 + mongo db 3.0.x + java 8 + 16.04 LTS / debian 8 | |
install java 8 oracle | |
sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list | |
sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 | |
sudo apt-get update && | |
apt-get install oracle-java8-installer | |
#check java |
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://wiki.mikrotik.com/wiki/Manual:Interface/SSTP | |
how to enable SSTP with Comodo SSL, | |
first generate like normaly, | |
and you will get | |
crt in pk8 format, and convert it to crt, | |
and then import to mikrotik server, | |
key from generate, and crt, |
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
Vulnerable GIT: | |
before 2.17.1, | |
GIT GIT 2.17 | |
before 2.16.4, | |
GIT GIT 2.16.3 | |
GIT GIT 2.16 | |
before 2.15.2 | |
GIT GIT 2.15.1 | |
GIT GIT 2.15 | |
before 2.14.4 |
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
install browsh in debian / ubuntu, with source mode | |
(links replacement) | |
download firefox esr on download page | |
https://www.mozilla.org/en-US/firefox/organizations/all/ | |
find dowload linux 64 or 32 bit, depends on system architecture | |
example: | |
# wget -4 https://download-installer.cdn.mozilla.net/pub/firefox/releases/60.1.0esr/linux-x86_64/en-US/firefox-60.1.0esr.tar.bz2 |
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 rm -rf /var/lib/apt/lists/partial | |
227 sudo apt-get update -o Acquire::CompressionTypes::Order::=gz |
OlderNewer