This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sumOdd(a): | |
i=1 | |
result=0 | |
while i<a: | |
result+=i | |
i+=2 | |
return result | |
def getPrime(a): | |
result =[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
================================================| | |
Jar2Exe level 2 Unpacker (Hide Class protection)| | |
Created by Levis Nickaster | | |
http://ltops9.wordpress.com | | |
================================================| | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Colors] | |
AbstractTableViewBackgroundColor=#000000 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#000080 | |
AbstractTableViewSeparatorColor=#0000FF | |
AbstractTableViewTextColor=#FFFBF0 | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#B9B9B9 | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#B1B1B1 |
OlderNewer