Skip to content

Instantly share code, notes, and snippets.

Nikita Abdullin 0xABD

  • Planet Earth
Block or report user

Report or block 0xABD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
n-belokopytov / copyDeps.gradle
Last active Jan 18, 2020
Gradle script that generates a task to copy all build variant's dependencies to a certain directory for use with Nexus IQ Server. It copies exploded AARs too, renaming the classes.jar file into "<aar_dependency_name>.jar".
View copyDeps.gradle
apply plugin: ''
android.applicationVariants.all { variant ->
task "copyDependencies${}"() {
outputs.upToDateWhen { false }
doLast {
println "Executing copyDependencies${}"
variant.getCompileClasspath().each { fileDependency ->
def sourcePath = fileDependency.absolutePath
def destinationPath = project.projectDir.path + "/build/dependencies/${}/"
AKosterin /
Created Aug 16, 2015
JEB Plugin for decrypt DexGuard encrypted Strings.
import jeb.api.IScript;
import jeb.api.JebInstance;
import jeb.api.ast.*;
import jeb.api.ast.Class;
import jeb.api.dex.Dex;
import jeb.api.dex.DexCodeItem;
import jeb.api.dex.DexFieldData;
import jeb.api.dex.DexMethod;
import jeb.api.ui.JavaView;
import jeb.api.ui.View;
1mm0rt41PC /
Last active Dec 29, 2018 — forked from 7h3rAm/
hexdump with full support for python2.x and python 3.x
def hexdump( src, length=16, sep='.' ):
@brief Return {src} in hex dump.
@param[in] length {Int} Nb Bytes by row.
@param[in] sep {Char} For the text part, {sep} will be used for non ASCII char.
@return {Str} The hexdump
@note Full support for python2 and python3 !
result = [];
# taken from
# generate server.xml with the following command:
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
# run as follows:
# python
# then in your browser, visit:
# https://localhost:4443
import BaseHTTPServer, SimpleHTTPServer
import ssl
eshizhan /
Last active Nov 19, 2019
a script that can help import VMs into VMware ESXi from VirtualBox. tested vbox 4.2.18 and ESXi 5.1.
#!/usr/bin/env python
# usage:
# some-vm.ovf
# ref:
import sys
fn = sys.argv[1]
View openssl.cnf.ini
# Generate Private Key
$ openssl genrsa -out server.key 2048
# Generate CSR
$ openssl req -new -out server.csr -key server.key -config openssl.cnf
# => Fill in info
# Check CSR
$ openssl req -text -noout -in server.csr
# Sign Cert
$ openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt -extensions v3_req -extfile openssl.cnf
0xABD / file_change_notify_to_ftp.ps1
Created Jan 28, 2012
windows: PowerShell: watch for file changes and upload them to FTP
View file_change_notify_to_ftp.ps1
# Watch for files in $watchDir that a match a filer $watchFilter
# and upload them to FTP $ftpUrl when they are changed (modified)
$ftpUrl = ""
$watchDir = "C:\temp"
$watchFilter = "*.txt"
function uploadFile($fullFileName)
0xABD /
Created Jan 10, 2012
c c++ include header #ifndef guard
import string, sys, os
tt = string.maketrans(string.punctuation,'_'*len(string.punctuation))
for fname in sys.argv[1:]:
hname = os.path.split(fname)[-1].upper().translate(tt)
head_str = '#ifndef ' + hname + '\n#define ' + hname+'\n'
tail_str = '\n#endif //' + hname + '\n'
dt = file(fname).read()
You can’t perform that action at this time.