Skip to content

Instantly share code, notes, and snippets.


Anton Kosterin AKosterin

View GitHub Profile
AKosterin / wifihack.src
Last active Aug 25, 2020
Grey Hack Scripts
View wifihack.src
host_comp = get_shell.host_computer
crypto = include_lib("/lib/")
if not crypto then exit("Error: Missing crypto library")
get_net_devices = function (computer)
devices = []
for device in computer.network_devices.split("\n")
if device.len > 0 then
params = device.split(" ")
View go: *http.Client with Proxy.go
func initProxyHttpClient(proxyUrl string, insecure bool) *http.Client {
pu, _ := url.Parse(proxyUrl)
return &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(pu),
TLSNextProto: make(map[string]func(authority string, c *tls.Conn) http.RoundTripper),
TLSClientConfig: &tls.Config{
InsecureSkipVerify: insecure,
$ git config --global url."".insteadOf ""
$ git config --global url."".insteadOf ""
AKosterin / gist:280dc28ccb451156a9725f7c3e6bf669
Created Feb 20, 2017 — forked from iwinux/gist:5578188
Go's html/template with better subdirectory support.
View gist:280dc28ccb451156a9725f7c3e6bf669
package templates
View gist:6254f0652f3c348be3bd20df871b5077
func separateString(str, seporator string, count int) string {
rs := []rune(str)
log.Println("rs = ", rs)
srs := []rune(seporator)
log.Println("srs = ", srs)
for i := 0; i * (count + len(srs)) < len(rs)-count; i++ {
rs = append(rs[:i * (count + len(srs)) + count] ,append(srs, rs[i * (count + len(srs)) + count :]...)...)
AKosterin /
Last active Jul 3, 2019
New Dexguard String decoder for JEB 1.5. Tested on GFE 3.1.3. This release auto parse decoder function.
import jeb.api.IScript;
import jeb.api.JebInstance;
import jeb.api.ast.*;
import jeb.api.ast.Class;
import jeb.api.dex.*;
import jeb.api.ui.JavaView;
import jeb.api.ui.View;
import java.util.Arrays;
import java.util.HashMap;
import rx.Observable;
import rx.subjects.PublishSubject;
public class Property<T> {
private T value;
private PublishSubject<T> property;
public Property() {
property = PublishSubject.create();
AKosterin / themes-debug.xml
Created Jan 24, 2016 — forked from dlew/themes-debug.xml
With the new theming in AppCompat, a lot of assets are tinted automatically for you via theme attributes. That has often led me to wonder "where the hell did this color come from?" You can replace your normal theme with this debug theme to help figure out the source of that color.
View themes-debug.xml
<!-- You can change the parent around to whatever you normally use -->
<style name="DebugColors" parent="Theme.AppCompat">
<!-- System colors -->
<item name="android:windowBackground">@color/__debugWindowBackground</item>
<item name="android:colorPressedHighlight">#FF4400</item>
<item name="android:colorLongPressedHighlight">#FF0044</item>
<item name="android:colorFocusedHighlight">#44FF00</item>
<item name="android:colorActivatedHighlight">#00FF44</item>
AKosterin /
Created Jan 18, 2016 — forked from jgilfelt/
An OkHttp interceptor that logs requests as curl shell commands
* Copyright (C) 2016 Jeff Gilfelt.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
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;
You can’t perform that action at this time.