Skip to content

Instantly share code, notes, and snippets.

View notdodo's full-sized avatar
☁️
randomASDF' or '1'='1

Edoardo Rosa notdodo

☁️
randomASDF' or '1'='1
View GitHub Profile
@notdodo
notdodo / idlescanner.py
Created May 14, 2017 23:32
Dumb script to perform a zombie (idle) port scan using some free non-related service like imgur (by Martin Obiols)
#!/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
@notdodo
notdodo / office.py
Created May 5, 2017 02:41
OLE to hash (crack password) - unknow source
#!/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
@notdodo
notdodo / DBus-spotify
Last active January 30, 2020 18:41
Python script to interact with DBus MediaPlayer2 interface, used by Spotify, VLC, mpd, MPlayer, etc (Info, Play/Pause, Next, Prev, Stop)
#!/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")
@notdodo
notdodo / Thunderbird unibo
Created October 15, 2016 23:06
Configurare Thunderbird per la mail studio.unibo.it
###############################################
Configurazione per Thunderbird per mail Unibo #
###############################################
# Server IMAP
Server Name: outlook.office365.com
Port: 993
Security: SSL/TLS
Authentication: Normal Password
@notdodo
notdodo / install_printer
Last active August 2, 2025 20:51
Install a printer on Arch Linux with cups using command line
#!/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
@notdodo
notdodo / dosnslookup.py
Last active May 14, 2017 23:34
Multi-threading script for simple DNS DOS.
#!/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
@notdodo
notdodo / trashUpdate
Last active May 14, 2017 23:34
[Trashware] Update Linux Mint and change the default background
#!/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