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
| http://rootzwiki.com/topic/41985-enable-wifi-tether-through-adb/ | |
| adb shell input keyevent 3 # home | |
| adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings | |
| adb shell input keyevent 20 # down | |
| adb shell input keyevent 20 # down |
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 | |
| # decrypt the key | |
| openssl rsautl -decrypt -inkey rsa.key -in keyfile_crypted -out keyfile | |
| # use the key to decrypt the data | |
| openssl aes-256-cbc -d -in encrypted.txt -out plain_decrypted.txt -pass file:keyfile | |
| rm keyfile |
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
| String packageName = "com.android.browser"; | |
| String className = "com.android.browser.BrowserActivity"; | |
| Intent intent = new Intent(Intent.ACTION_VIEW); | |
| intent.addCategory(Intent.CATEGORY_LAUNCHER); | |
| intent.setClassName(packageName, className); | |
| intent.setData(Uri.parse("https://google.com")); | |
| startActivity(intent); |
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
| s3cmd setacl s3://bucket/path/to/file --acl-public | |
| s3cmd info s3://bucket/path/to/file | |
| s3cmd setacl s3://bucket/path/to/file --acl-private |
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
| <?php | |
| /* | |
| based on: http://stackoverflow.com/questions/7160899/websocket-client-in-php/16608429#16608429 | |
| FIRST EXEC PYTHON SCRIPT TO GET HEADERS | |
| */ | |
| $ws = new ws(array | |
| ( | |
| 'host' => '127.0.0.1', | |
| 'port' => 8080, |
Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.
I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt- Metaspoit: Penetration testing software
- GhostShell: Malware indetectable, with AV bypass techniques, anti-disassembly, etc.
- BeEF: The Browser Exploitation Framework
- PTF: Penetration Testers Framework
- Bettercap: MITM framework
- Nessus: Vulnerability scanner
- AutoNessus: Auto Nessus
- BDFProxy: Patch Binaries via MITM (BackdoorFactory)
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 selenium import webdriver | |
| from selenium.webdriver import DesiredCapabilities | |
| desired_capabilities = DesiredCapabilities.PHANTOMJS.copy() | |
| desired_capabilities['phantomjs.page.customHeaders.User-Agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) ' \ | |
| 'AppleWebKit/537.36 (KHTML, like Gecko) ' \ | |
| 'Chrome/39.0.2171.95 Safari/537.36' | |
| driver = webdriver.PhantomJS(desired_capabilities=desired_capabilities) |