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 | |
mkdir ~/Desktop/tmp | |
cd ~/Desktop/tmp | |
git clone https://github.com/rbsec/sslscan.git | |
cd sslscan | |
#wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz | |
#tar -xzvf openssl-1.0.2d.tar.gz | |
#mv openssl-1.0.2d/ openssl | |
xcode-select --install | |
#cd openssl |
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
#!/usr/bin/python | |
# -*- coding: iso-8859-1 -*- | |
# Hello, this program is written in Python - http://python.org | |
programname = 'html2csv - version 2002-09-20 - http://sebsauvage.net' | |
import sys, getopt, os.path, glob, HTMLParser, re | |
try: import psyco ; psyco.jit() # If present, use psyco to accelerate the program | |
except: pass |
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/sh | |
# Kill existing Skype Session | |
kill -9 `pgrep -f Skype` | |
# Change into the application data folder | |
cd ~/Library/Containers/com.microsoft.SkypeForBusiness/Data/Library/Application\ Support/com.microsoft.SkypeForBusiness | |
# Backup db | |
cp DataStore.sqlite DataStore.sqlite.bk_$(date +%Y-%m-%d) | |
# Remove all Conversations | |
sqlite3 DataStore.sqlite "delete from Conversation" | |
# Remove all Conversation items |
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 | |
# | |
# This version uses September 2017 august stretch image, please use this image | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
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/sh | |
until ["ls /dev/ttyUSB0" & pgrep gimx] | |
do | |
/bin/ln -s "/dev/ttyAMA0" "/dev/ttyUSB0" | |
sleep 1 | |
/usr/bin/gimx -c "LogitechG25_W10_G29.xml" -p "/dev/ttyUSB0" | |
sleep 1 | |
done | |
echo "Gimx avviato!" |
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
import java.security.SecureRandom; | |
import javax.crypto.spec.PBEKeySpec; | |
import javax.crypto.SecretKeyFactory; | |
import java.math.BigInteger; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.spec.InvalidKeySpecException; | |
/* | |
* PBKDF2 salted password hashing. | |
* Author: havoc AT defuse.ca |
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
#!/usr/bin/python | |
# -*- coding: iso-8859-15 -*- | |
import requests | |
from requests_ntlm import HttpNtlmAuth | |
from requests.auth import HTTPBasicAuth | |
import argparse | |
import curses | |
from pick import pick | |
import time | |
import getpass |
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
#!/usr/bin/env python | |
import shodan | |
import sys | |
# Configuration | |
API_KEY = "apikey" | |
# Input validation | |
if len(sys.argv) == 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
#!/usr/bin/python | |
# -*- coding: latin-1 -*- | |
import json | |
from pprint import pprint | |
import urllib2 | |
import smtplib | |
import getpass | |
vendor = 'Check Point' |
NewerOlder