mkdir chromium && cd chromium
fetch --nohooks chromium --nosvn=True
gclient sync --with_branch_heads --nohooks # May not even need this.
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
| (function () { | |
| var filename = "amd.js"; | |
| var scripts = Array.prototype.slice.call(document.querySelectorAll("script[src]")); | |
| var self = scripts.filter(function (x) { return x.getAttribute("src").indexOf(filename) > -1; })[0]; | |
| var src = self.getAttribute("src"); | |
| var root = src.substring(0, src.indexOf(filename)); | |
| var modules = {}; |
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
| function create() { | |
| var types = Array.prototype.slice.call(arguments, 0, arguments.length - 1); | |
| var body = arguments[arguments.length - 1]; | |
| return function () { | |
| if (arguments.length < types.length) | |
| throw new Error("Argument count mismatch."); | |
| for (var i = 0; i < types.length; i++) { | |
| if (arguments[i].constructor != types[i] && !(arguments[i] instanceof types[i])) | |
| throw new Error("Argument type mismatch. (" + types[i].name + ")"); |
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
| function Enumerable(generator, length, start) { | |
| this.generator = generator; | |
| this.length = length || Infinity; | |
| this.current = start || 0; | |
| this.index = 0; | |
| Object.defineProperty(this, this.index, { get: this.next, configurable: true }); | |
| } | |
| Enumerable.prototype.next = function() { |
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 frida, argparse | |
| parser = argparse.ArgumentParser(description='List modules for a process') | |
| parser.add_argument('process_names', metavar='process name', nargs='+', help='names of processes to enumerate') | |
| parser.add_argument('-R', dest='target', action='store_const', const=True, default=False, | |
| help='target remote device') | |
| try: | |
| args = parser.parse_args() | |
| target = frida |
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
| int doubler(int x) { | |
| return 2 * x; | |
| } |
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
| diff -Naur duktape/src-input/builtins.yaml duktape-ooo/src-input/builtins.yaml | |
| --- duktape/src-input/builtins.yaml 2019-05-11 19:06:14.000000000 -0700 | |
| +++ duktape-ooo/src-input/builtins.yaml 2019-05-04 18:07:33.000000000 -0700 | |
| @@ -204,80 +204,80 @@ | |
| # This could be stripped when DUK_USE_GLOBAL_BUILTIN is disabled | |
| # ("void 0" is the same and safer) but it's commonly used so keep. | |
| - - key: "Object" | |
| + - key: "OOOObjectOOO" | |
| value: |
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 | |
| # This script has to be run as your confluence user or root | |
| # Create a backup of, and attempt to restore a confluence h2 internal database | |
| # Go home. | |
| cd ~ | |
| # Stop confluence | |
| /opt/atlassian/confluence/bin/stop-confluence.sh | |
| # Really though... |
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
| Info: | |
| Version 1909 is build 18363.xxx, version 1903 is build 18362.xxx. 1909 is only an "upgrade" over 1903. | |
| The final build string is: 18363.418 | |
| KB4509452 (SSU) | |
| - https://uupdump.ml/getfile.php?id=bef818f0-b193-4847-ada2-1beb1e20a014&file=windows10.0-kb4509452-x64.cab | |
| - https://uupdump.ml/getfile.php?id=a9fb4337-43dd-4429-b6d6-82719ddd1be6&file=windows10.0-kb4509452-x86.cab | |
| - https://uupdump.ml/getfile.php?id=389a5e29-0cfd-4f62-b051-54170ccf525d&file=windows10.0-kb4509452-arm64.cab |
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 urllib2 | |
| link = "http://example.com" | |
| r = urllib2.Request(url=link) | |
| # r.add_header('Cookie', 'sessionid=13cxrt4uytfc6ijvgeoflmb3u9jmjuhil; csrftoken=jdEKPN8iL62hdaq1hmMuID9DMALiiDIq') | |
| r.add_header('Upgrade-Insecure-Requests', '1') | |
| r.add_header('Accept-Encoding', 'gzip, deflate, sdch, br') | |
| r.add_header('User-Agent', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36') | |
| r.add_header('Connection', 'keep-alive') | |
| r.add_header('Cache-Control', 'max-age=0') |