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 | |
if [ `id -u` -ne 0 ]; then | |
printf "The script must be run as root!\n" | |
exit 1 | |
fi | |
# Adds a progressbar | |
TEMPFILE=/etc/apt/apt.conf.d/00newconftemp | |
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar |
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/python2 | |
from threading import Thread | |
from threading import Event | |
from threading import stack_size | |
from Queue import Queue | |
from Queue import Empty | |
import os | |
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 | |
################################################################ | |
# Install a printer on Arch Linux with cups using command line # | |
# Used for a HP PSC 1510 with default driver # | |
################################################################ | |
sudo pacman -S cups | |
sudo systemctl start org.cups.cupsd |
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
############################################### | |
Configurazione per Thunderbird per mail Unibo # | |
############################################### | |
# Server IMAP | |
Server Name: outlook.office365.com | |
Port: 993 | |
Security: SSL/TLS | |
Authentication: Normal Password |
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 python3 | |
# Author: edoz90 | |
import sys | |
try: | |
# http://click.pocoo.org/5/why/ | |
import click | |
import dbus | |
from colored import fg, stylize | |
except: | |
print("Need to install click, dbus-python and colored") |
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 | |
# olefile (formerly OleFileIO_PL) version 0.42 2015-01-25 | |
# | |
# Module to read/write Microsoft OLE2 files (also called Structured Storage or | |
# Microsoft Compound Document File Format), such as Microsoft Office 97-2003 | |
# documents, Image Composer and FlashPix files, Outlook messages, ... | |
# This version is compatible with Python 2.6+ and 3.x | |
# | |
# Project website: http://www.decalage.info/olefile |
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 | |
''' | |
Dumb script to perform a zombie (idle) port scan | |
using some free non-related service like imgur | |
Questions/Comments: | |
twitter.com/olemoudi | |
http://blog.makensi.es |
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 python2 | |
# -*- coding: utf-8 -*- | |
''' | |
Open either Shodan search results, a specified IP range, a | |
single IP, or domain and perform an ipidseq probing using nmap. Note that | |
for a successful probing, the command must be ran as root. | |
Shamefully inspired from device-pharmer.py by Dan McInerney | |
(please see https://github.com/DanMcInerney/device-pharmer ) |
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 zsh | |
# | |
echo "Block IP \"${1}\"" | |
echo "=========================================" | |
local domain="www.mymegasite.org" | |
local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0" | |
local nonce="COPY-PASTED-NONCE" | |
local data="IP=${1}&reason=Manual+block+by+administrator&perm=1&action=wordfence_blockIP&nonce=${nonce}" |
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 python3 | |
# | |
# AUTHOR: Edoardo Rosa notdodo https://github.com/notdodo | |
# https://twitter.com/_d_0_d_o_ | |
# | |
# Sample: ("{0}{1}{4}{3}{5}{2}" -f 'CONv','er','G','R','tTo-SecURest','In') | |
# Decoded output: CONvertTo-SecURestRInG | |
# | |
try: |
OlderNewer