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
| Landroid/accessibilityservice/AccessibilityButtonController; | |
| Landroid/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback; | |
| Landroid/accessibilityservice/AccessibilityService; | |
| Landroid/accessibilityservice/AccessibilityService$GestureResultCallback; | |
| Landroid/accessibilityservice/AccessibilityServiceInfo; | |
| Landroid/accessibilityservice/AccessibilityService$MagnificationController; | |
| Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener; | |
| Landroid/accessibilityservice/AccessibilityService$SoftKeyboardController; | |
| Landroid/accessibilityservice/AccessibilityService$SoftKeyboardController$OnShowModeChangedListener; | |
| Landroid/accessibilityservice/FingerprintGestureController; |
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 time | |
| import timeit | |
| def time_usage(func): | |
| def wrapper(*args, **kwargs): | |
| start_time = timeit.default_timer() | |
| retval = func(*args, **kwargs) | |
| elapsed = timeit.default_timer() - start_time | |
| print "Function '{}' elapsed time: {}sec".format(func.__name__, elapsed) |
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
| set -s escape-time 0 | |
| bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
| # Tmux uses a 'control key', set it to 'Ctrl-Space' that is easier to reach | |
| unbind C-b | |
| set -g prefix C-Space | |
| bind C-Space send-prefix | |
| # Tmux should be pretty, we need 256 color for that |
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/bash | |
| git pull | |
| if [ "$1" != "" ]; then | |
| git commit -am "$1" | |
| else | |
| git commit -am "auto" | |
| fi |
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/bash | |
| if [ -d "$1" ]; then | |
| apktool build $1 | |
| dist="$1/dist/" | |
| cd $dist | |
| outapk="out.apk" | |
| if [ -f $outapk ]; then | |
| rm $outapk |
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
| $ExPath = (Get-MpPreference).ExclusionPath | |
| if ($ExPath.Length -gt 0) { | |
| foreach ($path in $ExPath) { | |
| try { | |
| $url = "https://secure.eicar.org/eicar.com" | |
| $output = Join-Path -Path $path -ChildPath "eicar.com" | |
| Invoke-WebRequest -Uri $url -OutFile $output | |
| Write-Host "Dropped malicious file -> '$($output)'" | |
| # Execute $output ... | |
| return |
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/env python3 | |
| import r2pipe | |
| import sys | |
| from os.path import isfile | |
| from typing import Optional | |
| def get_soname(file_path) -> Optional[str]: | |
| r = r2pipe.open(file_path) | |
| barch: int = r.cmdj('iAj')['bins'][0]['bits'] |
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/bash | |
| wget https://nordvpn.com/ovpn/ | |
| cat index.html | grep udp1194.ovpn | cut -d \" -f2 > configlinklist.txt | |
| rm index.html | |
| mkdir nordvpnconfigs/ | |
| xargs wget -P nordvpnconfigs/ < configlinklist.txt |
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
| $scriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition | |
| $outputTxtFile = Join-Path -Path $scriptPath -ChildPath "hashes.txt" | |
| Get-ChildItem -Path "C:\Program Files (x86)\Steam\steamapps\common" -recurse -include *.exe | foreach-object { | |
| (Get-FileHash $_.FullName -Algorithm SHA256).Hash | Out-File -Encoding Ascii -append $outputTxtFile | |
| } | |
| Write-Host ("Results written in: {0}" -f $outputTxtFile) |
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/bash | |
| # /usr/sbin/libgvc6-config-update | |
| # Use one of: circo dot fdp neato osage patchwork sfdp twopi | |
| declare -a graphviz=("circo" "dot" "fdp" "neato" "osage" "patchwork" "sfdp" "twopi") | |
| if [ -f "$1" ]; then | |
| pardir="$(dirname "$1")" | |
| bname="$(basename "$1")" | |
| for i in "${graphviz[@]}" |