Skip to content

Instantly share code, notes, and snippets.

@FirehaK
FirehaK / oalabs_x86vm.ps1
Created Dec 29, 2018 — forked from OALabs/oalabs_x86vm.ps1
Boxstarter package for OALABS x86 Malware Analysis VM
View oalabs_x86vm.ps1
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 " "
View 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 / gzip_str.py
Created Nov 6, 2017 — forked from Garrett-R/gzip_str.py
Demo of how to gzip and gunzip a string in Python 3
View gzip_str.py
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 / sentiment.py
Last active Apr 12, 2017 — 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.
View sentiment.py
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 / AD Dump.bat
Created May 18, 2012
dump names from an active directory group
View AD Dump.bat
@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