Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am evilsomething on github.
* I am cyberdog (https://keybase.io/cyberdog) on keybase.
* I have a public key ASAtZtx8TAWW8_rg9OhQTBkNWRygmuhBon84QT7xH-kJxgo
To claim this, I am signing this object:
@kellthenoise
kellthenoise / ETW
Created November 20, 2018 17:36
ETW microsoft code
#define INITGUID // Include this #define to use SystemTraceControlGuid in Evntrace.h.
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <strsafe.h>
#include <wmistr.h>
#include <evntrace.h>
#define LOGFILE_PATH L"<FULLPATHTOTHELOGFILE.etl>"
@kellthenoise
kellthenoise / ETW
Created November 20, 2018 17:36
ETW microsoft code
#define INITGUID // Include this #define to use SystemTraceControlGuid in Evntrace.h.
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <strsafe.h>
#include <wmistr.h>
#include <evntrace.h>
#define LOGFILE_PATH L"<FULLPATHTOTHELOGFILE.etl>"
@kellthenoise
kellthenoise / README.md
Created December 2, 2018 08:50 — forked from joyrexus/README.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output

@kellthenoise
kellthenoise / Bookmarked pages
Last active May 20, 2019 23:57
Github Pages
External <br>
* [[https://github.com/lgandx/Responder.git
* [[https://github.com/quickbreach/SMBetray.git[SMB Betrayu]
* [[https://github.com/yamakira/censys-enumeration|censys enumeration via certificates]]
* [[https://github.com/FortyNorthSecurity/EyeWitness.git|Eyewitness]]
* [[https://github.com/michenriksen/gitrob.git|gitrob git]]
* [[https://github.com/aboul3la/Sublist3r.git|Sublistr]]
* https://github.com/OJ/gobuster.git - directory brute forcing
#!/bin/bash
# log.sh
# do the following - /usr/bin/script ~/Desktop/Terminal.log
#* Formatted date & time string.
FORMATTED_DATE=`/bin/date "+%Y-%m-%d%H%M%S"`
#* Archive the previous file
/bin/cp -f ~/Desktop/Terminal.log{,.&#36;FORMATTED_DATE.txt}
To list open files (process id’s and ports, actually):
sudo lsof -i -P
To avoid text wrapping, pull the right edge to expand the screen width.
The right-most column heading "Name" shows the port (either TCP or UDP).
To filter a particular port number:
alias qfind="find . -name " # qfind: Quickly search for file
ff () { /usr/bin/find . -name "$@" ; } # ff: Find file under the current directory
ffs () { /usr/bin/find . -name "$@"'*' ; } # ffs: Find file whose name starts with a given string
ffe () { /usr/bin/find . -name '*'"$@" ; } # ffe: Find file whose name ends with a given string
# spotlight: Search for a file using MacOS Spotlight's metadata
# -----------------------------------------------------------
spotlight () { mdfind "kMDItemDisplayName == '$@'wc"; }
@kellthenoise
kellthenoise / Github pages
Last active June 4, 2019 19:23
Github pages
External
* [[https://github.com/lgandx/Responder.git
* [[https://github.com/quickbreach/SMBetray.git[SMB Betrayu]
* [[https://github.com/yamakira/censys-enumeration|censys enumeration via certificates]]
* [[https://github.com/FortyNorthSecurity/EyeWitness.git|Eyewitness]]
* [[https://github.com/michenriksen/gitrob.git|gitrob git]]
* [[https://github.com/aboul3la/Sublist3r.git|Sublistr]]
* https://github.com/OJ/gobuster.git - directory brute forcing
https://github.com/UnaPibaGeek/ctfr - certificates
### Keybase proof
I hereby claim:
* I am fuzzzynoise on github.
* I am cyberdog (https://keybase.io/cyberdog) on keybase.
* I have a public key ASBhkRpcrCZ4g-xigQxYemx_W5rEWSLyW0cHKQL1bAiWRAo
To claim this, I am signing this object: