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 | |
| """ | |
| Yet another simple binary patcher | |
| """ | |
| patches = [ | |
| { | |
| # 1 Windows x64, version 3, build 1234 | |
| 'file': 'file_1.bin', | |
| 'offset': 0x0BA950, | |
| 'original': b'\x00', |
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
| # | |
| # script to help move around with ms17-010 from Metasploit | |
| # Go to Attacks -> Eternal Blue | |
| # | |
| # target, listener, where to save .rc file | |
| sub generate_rc_file { | |
| local('$target $listener $where $handle $shellcode'); | |
| ($target, $listener, $where) = @_; |
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
| require 'selenium-webdriver' | |
| username = 'your_username' | |
| pword = 'your_pword' | |
| browser = Selenium::WebDriver.for :firefox | |
| browser.get 'https://linkedin.com' | |
| wait = Selenium::WebDriver::Wait.new(:timeout => 10) |
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
| // Solarized for Mosh Chrome | |
| // Mosh does not seem to save profiles, so this sets the default 'mosh' profile. | |
| // To reset, evaluate term_.prefs_.resetAll() | |
| // Run in the JavaScript console of mosh_browser.html, which can be opened | |
| // as explained here: | |
| // https://github.com/rpwoodbu/mosh-chrome/wiki/FAQ#how-can-i-change-the-way-the-terminal-looks-font-color-etc | |
| var htermProfiles = { | |
| // Solarized Dark |