Skip to content

Instantly share code, notes, and snippets.

View r00tten's full-sized avatar

Mert Degirmenci r00tten

View GitHub Profile
#!/usr/bin/python
import sys
import binascii
array = []
xoredArray = []
# Hard coded XOR key
xorKey = ['0x56', '0xd7', 'a7', '0a']
Private Sub Execute()
Dim Path As String
Dim FileNum As Long
Dim xml() As Byte
Dim bin() As Byte
Const HIDDEN_WINDOW = 12
strComputer = "."
xml = ActiveDocument.WordOpenXML
Set xmlParser = CreateObject("Msxml2.DOMDocument")
#!/usr/bin/python
import sys
import binascii
import struct
array = []
# Hard coded XOR key
xorKey = [0x2d, 0x30, 0x71, 0x1b, 0x07, 0x0f, 0x43, 0x2d, 0x56, 0x2a]
# Sample encryptted string
# LS19 Zararlı Yazılım Analiz Ekibi
# Analiz Rapor Formatı
#
# Değer bölümünde | karakteri bulunan anahtarlara, çoklu girdi sağlayabilirsiniz.
#
# Örn:
# key: |
# First Value
# Second Value
#
@r00tten
r00tten / unsetuid.py
Last active April 8, 2019 08:40
Unsetuid all files but whitelist
#!/usr/bin/python
import os
import logging
whitelist = []
def banner():
print("")
print(" ___ ___ _ _ ")
@r00tten
r00tten / asciify.py
Last active March 21, 2019 18:56
asciify unicode strings within the files. I didn't have time to test it properly. If you find a bug, just tell me.
# [X] Reading from file
# [X] Splitting word by word
# [X] Split ascii and unicode
# [X] Determine a range and apply filter
# [X] Collect all the unique ones in an array
# [X] Create random english words for them
# [X] Create an updated file
# [ ] Work with folder and file as a input
#!/usr/bin/python