Skip to content

Instantly share code, notes, and snippets.

@FirehaK
FirehaK / AD Dump.bat
Created May 18, 2012 21:06
dump names from an active directory group
@echo off
Set /p GROUP="Group Name: "
echo This window will close when finished!
echo Larger groups may take a while!
dsquery group -name "%GROUP%" | dsget group -members | dsget user -samid -display > "%GROUP%".txt
@FirehaK
FirehaK / sentiment.py
Last active April 12, 2017 15:23 — forked from bbengfort/sentiment.py
An end-to-end demonstration of a Scikit-Learn SVM classifier trained on the positive and negative movie reviews corpus in NLTK.
import os
import string
import time
from operator import itemgetter
from nltk import pos_tag
from nltk import sent_tokenize
from nltk import wordpunct_tokenize
from nltk import WordNetLemmatizer
@FirehaK
FirehaK / gzip_str.py
Created November 6, 2017 22:54 — forked from Garrett-R/gzip_str.py
Demo of how to gzip and gunzip a string in Python 3
import gzip
import io
def gzip_str(string_):
out = io.BytesIO()
with gzip.GzipFile(fileobj=out, mode='w') as fo:
fo.write(string_.encode())
bytes_obj = out.getvalue()
@FirehaK
FirehaK / keybase.md
Created November 12, 2017 01:37
keybase.md

Keybase proof

I hereby claim:

  • I am firehak on github.
  • I am firehak (https://keybase.io/firehak) on keybase.
  • I have a public key ASDs_GEuvYMNEPqxtdHZk4ncYT07x2dPBMqCGtYNFFYfMQo

To claim this, I am signing this object:

@FirehaK
FirehaK / oalabs_x86vm.ps1
Created December 29, 2018 19:12 — forked from OALabs/oalabs_x86vm.ps1
Boxstarter package for OALABS x86 Malware Analysis VM
Write-Host -NoNewline " "
Write-Host -NoNewline " _______ _______ ___ _______ _______ _______ "
Write-Host -NoNewline " | || _ || | | _ || _ || | "
Write-Host -NoNewline " | _ || |_| || | | |_| || |_| || _____| "
Write-Host -NoNewline " | | | || || | | || || |_____ "
Write-Host -NoNewline " | |_| || || |___ | || _ | |_____ | "
Write-Host -NoNewline " | || _ || || _ || |_| | _____| | "
Write-Host -NoNewline " |_______||__| |__||_______||__| |__||_______||_______| "
Write-Host -NoNewline " "
Write-Host -NoNewline " "
@FirehaK
FirehaK / configuration.txt
Created June 29, 2022 13:45
example of a configuration returned by a Raccoon Stealer C2
libs_nss3:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/nss3.dll
libs_msvcp140:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/msvcp140.dll
libs_vcruntime140:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/vcruntime140.dll
libs_mozglue:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/mozglue.dll
libs_freebl3:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/freebl3.dll
libs_softokn3:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/softokn3.dll
ews_meta_e:ejbalbakoplchlghecdalmeeeajnimhm;MetaMask;Local Extension Settings
ews_tronl:ibnejdfjmmkpcnlpebklmnkoeoihofec;TronLink;Local Extension Settings
libs_sqlite3:http://193.106.191.146/aN7jD0qO6kT5bK5bQ4eR8fE1xP7hL2vK/sqlite3.dll
ews_bsc:fhbohimaelbohpjbbldcngcnapndodjp;BinanceChain;Local Extension Settings