Skip to content

Instantly share code, notes, and snippets.

View jamietanna's full-sized avatar

Jamie Tanna jamietanna

View GitHub Profile
@jamietanna
jamietanna / WhiteSource_Renovate_CLA.md
Created November 18, 2025 10:15 — forked from rarkins/WhiteSource_Renovate_CLA.md
WhiteSource Renovate Individual Contributor License Agreement

WhiteSource Software Individual Contributor License Agreement

Thank you for your interest in contributing to the open source software projects (the "Projects") made available by WhiteSource Software or its affiliates (collectively, "We", "Our" or "Us"). By clicking "Sign in with GitHub to agree", you agree to the terms and conditions of this Agreement.

The purpose of this Individual Contributor License Agreement ("Agreement") is to clarify and document the rights granted by contributors to Us.

This Agreement sets out the terms governing any source code, bug fixes, configuration changes, tools, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Us in connection with any Project(s) (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected].

1. How to use this Agreement

@jamietanna
jamietanna / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 12:24
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
@jamietanna
jamietanna / current-proc-name.c
Created February 10, 2016 20:48
Find the current process name in Kernel-mode
struct file *exe_file;
struct mm_struct *mm = current->mm;
if(mm) {
struct file *exe_file;
exe_file = get_mm_exe_file(mm);
if(exe_file) {
printk("open(): process called is %s\n", exe_file->f_path.dentry->d_name.name);
}
}
@jamietanna
jamietanna / patch.diff
Last active February 10, 2016 15:37
G53SEC Lab2 status script - amended to provide accurate counts for hashes if the user opts to `hashcat ... --remove ...` from the `hashcat.pot` file
--- status.bak 2016-02-10 15:23:54.127656283 +0000
+++ status 2016-02-10 15:24:31.235654380 +0000
@@ -1,10 +1,11 @@
-hashcount=`wc -l ./hashes/hashdb | awk '{print $1;}'`
+hashcount=`wc -l ./hashes/hashdb.bak | awk '{print $1;}'`
if [ -f hashcat.pot ]
then
potcount=`wc -l hashcat.pot | awk '{print $1;}'`
percent=$(awk "BEGIN { pc=100*${potcount}/${hashcount}; printf(\"%.2f%%\",pc) }" )
@jamietanna
jamietanna / gist:966c2fc772e2e4f6a4e6
Last active August 29, 2015 14:14
One-liner - remove all trailing spaces in a directory (excluding any precious git files)
sed -i 's/[ \t]*$//' $(find . -path '/.git' -prune -o -type f -print)