Skip to content

Instantly share code, notes, and snippets.

View Wingman4l7's full-sized avatar

Wingman4l7

  • Boston, MA
View GitHub Profile
#!/usr/bin/perl -w
use strict;
@ARGV or die "Usage: $0 PNGFILE...\nOutputs the file names of the PNG files with trailing data.";
FILE: while (@ARGV) {
my $fn = shift;
eval {
no warnings 'exiting';
@prologic
prologic / LearnGoIn5mins.md
Last active April 30, 2024 15:10
Learn Go in ~5mins
@roycewilliams
roycewilliams / pwnedpasswords-v6-top20k.txt
Last active April 1, 2024 18:14
pwnedpasswords-v6-top20k.txt
This file has been truncated, but you can view the full file.
#------------------------------------------------------------------------------
# Top 20K hashes from the Troy Hunt / haveibeenpwned Pwned Passwords list v6 (2020-06-19)
# with frequency count and cracked plaintext passwords
#
# The latest version of this file can be found here:
# https://gist.github.com/roycewilliams/226886fd01572964e1431ac8afc999ce
# The equivalent of this file, but based on v2 of the Pwned Passwords, is here:
# https://gist.github.com/roycewilliams/281ce539915a947a23db17137d91aeb7
#------------------------------------------------------------------------------
# Notes and references:
@stvhwrd
stvhwrd / LeetCodeQuestions.md
Last active March 2, 2024 06:38 — forked from krishnadey30/LeetCodeQuestions.md
Curated List of Top 75 LeetCode
@yassineaboukir
yassineaboukir / List of API endpoints & objects
Last active April 27, 2024 09:32
A list of 3203 common API endpoints and objects designed for fuzzing.
0
00
01
02
03
1
1.0
10
100
1000
@andyrbell
andyrbell / scanner.sh
Last active April 5, 2024 09:01
Make a pdf look scanned using ImageMagick
# use ImageMagick convert
# the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf
convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf
import pytesseract
import sys
import argparse
try:
import Image
except ImportError:
from PIL import Image
from subprocess import check_output
@roycewilliams
roycewilliams / hashcat-nvidia-power-performance-per-watt-adjustment.txt
Last active February 7, 2022 07:21
hashcat-nvidia-power-performance-per-watt-adjustment.txt
------------------------------------------------------------------------------
You can drop the power on NVIDIA cards and improve performance per watt.
Credit for the idea to atom on the 1080s:
https://docs.google.com/spreadsheets/d/1B1S_t1Z0KsqByH3pNkYUM-RCFMu860nlfSsYEqOoqco/edit#gid=1307275979
On the GTX 970s, you can drop to 150 and still get 99.96% of the same
performance! This saves power (and heat?). And there is evidence that the
performance difference varies per hash and per attack (masks, rules, etc.)
@koenrh
koenrh / gcp-gpu-vm-hashcat.md
Last active February 4, 2024 18:37
Running Hashcat on Google Cloud's new GPU-based VMs

Running Hashcat on Google Cloud's GPU-based VMs

In February 2017, Google announced the availability GPU-based VMs. I spun up a few of these instances, and ran some benchmarks. Along the way, I wrote down the steps taken to provision these VM instances, and install relevant drivers.

Update April 2019: Updated instructions to use instances with the Tesla T4 GPUs.

@guylaor
guylaor / gist:3eb9e7ff2ac91b7559625262b8a6dd5f
Created November 23, 2016 20:27
Installing Selenium with Python 3 on mac
Install python 3
create a virtualenv and then
pip install selenium
then install chrome driver:
brew install chromedriver
to test, run this script - notice the location of the chrome driver