Skip to content

Instantly share code, notes, and snippets.

View levisre's full-sized avatar
💭
I may be slow to respond.

Levis Nickaster levisre

💭
I may be slow to respond.
View GitHub Profile
@levisre
levisre / flufferduff.py
Created February 25, 2015 08:21
Flufferduff sCTF 2015
def sumOdd(a):
i=1
result=0
while i<a:
result+=i
i+=2
return result
def getPrime(a):
result =[]
@levisre
levisre / re100.py
Created May 8, 2015 02:00
WhiteHat Contest 9 RE100
def Calculate(iSum, lValue):
lTmp=range(0,len(lValue)+1)
for i in range(0x20,0x7F):
lTmp[0]=i
cSum=0
cSum+=lTmp[0]
for j in range(0,len(lValue)):
lTmp[j+1]=lTmp[j]+lValue[j]
cSum+=lTmp[j+1]
if cSum==iSum:
@levisre
levisre / HopperScriptsInstaller.sh
Last active August 29, 2015 14:24
A small Shell Script to install Script Collection for Hopper Disassembler
#!/bin/sh
ARCHIVE="master.zip"
SCRIPT_PATH="$HOME/GNUstep/Library/ApplicationSupport/Hopper/Scripts/"
UNZIP_PATH="HopperScripts-master"
#Require wget, unzip
echo "Hopper Disassembler Scripts Installer\n Based on phracker Github Repository"
echo "Moving to TMP folder..."
cd /tmp
@levisre
levisre / Jar2ExeUnpack_Level2.c
Created July 13, 2015 06:39
Small C Program to unpack Level 2 Protection of Jar2exe
/*
================================================|
Jar2Exe level 2 Unpacker (Hide Class protection)|
Created by Levis Nickaster |
http://ltops9.wordpress.com |
================================================|
*/
#include <stdio.h>
#include <stdlib.h>
@levisre
levisre / start_tv
Created July 13, 2015 13:44
Launch Teamviewer manually without adding teamviewerd.service to startup list
#!/bin/sh
IS_DAEMON_RUNNING="$(ps ax | grep teamviewerd | grep -v grep)"
if [ -z "${IS_DAEMON_RUNNING}" ];
then
echo "Starting Teamviewer Daemon..."
gksu systemctl start teamviewerd.service
echo "Teamviewer Daemon started. Launching Teamviewer..."
exec teamviewer
else
@levisre
levisre / gen_password.py
Created November 12, 2015 08:51
PySide GCafe Password Generator
from PySide import QtCore, QtGui
from Crypto.Hash import MD5,SHA,SHA512
import sys
class genHash():
def MD5Hash(self, input):
return MD5.new(input).hexdigest()
def SHA1Hash(self, input):
return SHA.new(input).hexdigest()
@levisre
levisre / IDA_Chooser.py
Last active March 10, 2017 09:40
Quick IDA choooser to help choose between IDA32 or IDA64
#!/usr/bin/python2
# -*- coding: utf-8 -*-
# IDA Chooser in PySide
# By Levis Nickaster([email protected])
# Created: Tue Feb 2 16:35:11 2016
# Usage: Copy the IDA_Chooser.py into the $IDADIR and execute
# A small windows might appears and ask you to choose which IDA (32 bit or 64 bit) will be used
# Now the only thing remain is to create a global hotkey and invoke it anywhere you want
@levisre
levisre / l4j_unpacker.py
Created February 16, 2016 03:03
Launch4j Unpacker
import pefile
import sys
def main(argv):
try:
fileNameInput = argv
print "Parsing file : " + argv
FileHandle = open(fileNameInput,"rb")
inputStream = FileHandle.read()
peHandle = pefile.PE(fileNameInput)
@levisre
levisre / testSSL.java
Last active May 17, 2016 09:35
Testing TLSv1.2 and Default TLSv1 in JDK1.7
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package testssl;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
@levisre
levisre / colors.ini
Last active May 19, 2024 21:45
Dark Colorful Color for x64dbg
[Colors]
AbstractTableViewBackgroundColor=#000000
AbstractTableViewHeaderTextColor=#000000
AbstractTableViewSelectionColor=#000080
AbstractTableViewSeparatorColor=#0000FF
AbstractTableViewTextColor=#FFFBF0
DisassemblyAddressBackgroundColor=#XXXXXX
DisassemblyAddressColor=#B9B9B9
DisassemblyAutoCommentBackgroundColor=#XXXXXX
DisassemblyAutoCommentColor=#B1B1B1