From the client, if the VPN serveur type is L2TP/IPsec execute as admin the command bellow to enable UDPEncapsulation then restart computer.
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
from html.parser import HTMLParser | |
class Node : | |
def __init__(self, tag, tag_text) : | |
self.initial = tag | |
self.tag = "<%s>" % tag | |
self.tag_text = tag_text | |
def __str__(self) : |
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
apt-get install easy-rsa | |
### Create the tool for the publique key infrastructure center. | |
# | |
# Required to generate the certifate request to the CA. | |
# | |
# Notice : All the stuff can be done with only one instance of | |
# easy RSA but it's easier to understand from this way. | |
mkdir -p /usr/local/src/easyrsa-pki | |
cp /usr/share/easy-rsa/easyrsa /usr/local/src/easyrsa-pki/ |
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
#!/bin/bash | |
count=1 | |
while [ $count -lt 10 ] | |
do | |
wget https://share.vx-underground.org/Conti/Training%20Material%20Leak/conti.7z.00$count | |
((count++)) | |
done | |
while [ $count -lt 100 ] |
To connect to remote server you need to start specific service named winrm (Windows Remote Management) on both computer (client/server). winrm
is also a commande line used to configure the winrm service. Windows Remote Management is base on specific protocol named WS-MAN (WS-Management protocol).
see also gist
about network tools
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
# Set assembleur display as intel norme | |
set disassembly-flavor intel | |
# Enable step mode | |
set step-mode on | |
# Follow child | |
set follow-fork-mode child |
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
# Pull image on local area | |
docker pull image_name | |
# Run image (not persistent) | |
docker run image_name | |
# Display volume | |
docker volume ls | |
# Create volume |
file location :
- /usr/local/src/firewall.sh
chown root /usr/local/src/firewall.sh
chgrp root /usr/local/src/firewall.sh
ln -sf /usr/local/src/firewall.sh /usr/local/sbin/firewall
NewerOlder