Metadata in PDF files can be stored in at least two places:
- the Info Dictionary, a limited set of key/value pairs
- XMP packets, which contain RDF statements expressed as XML
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| continue | |
| dir=/var/www/downloads | |
| file-allocation=falloc | |
| max-connection-per-server=4 | |
| max-concurrent-downloads=2 | |
| max-overall-download-limit=0 | |
| min-split-size=25M | |
| rpc-allow-origin-all=true | |
| rpc-secret=YouShouldChangeThis | |
| input-file=/var/tmp/aria2c.session |
| #!/usr/bin/env python | |
| import requests | |
| import json | |
| import re | |
| import datetime | |
| import sys | |
| import matplotlib as mpl | |
| mpl.use('Agg') | |
| import matplotlib.pyplot as plt | |
| from math import cos, sin, pi |
| #!/usr/bin/python2 | |
| # coding: utf-8 | |
| # Example of how not to code PHP... Not a serious exploit, just one for fun as | |
| # an example of how fucking badly people screw up. Picked an app while githubbin' | |
| # and heres the ruinage. | |
| # Exploits trivial command injection, followed by abusing the lolsudo implemented. | |
| # Seriously, this dudes programming licence needs to be revoked. | |
| # BONUS: Includes SCTP Backconnect for Great Justice reasons :D | |
| # Screenshot: http://i.imgur.com/0CWDs8m.png | |
| # Twitter: @dailydavedavids |
| function Invoke-UACBypass { | |
| <# | |
| .SYNOPSIS | |
| Bypasses UAC on Windows 10 by abusing the SilentCleanup task to win a race condition, allowing for a DLL hijack without a privileged file copy. | |
| Author: Matthew Graeber (@mattifestation), Matt Nelson (@enigma0x3) | |
| License: BSD 3-Clause | |
| Required Dependencies: None | |
| Optional Dependencies: None |
scrapped from @x0rz,@etlow,@Dinosn,@hackerfantastic,@highmeh,@cyb3rops and others
| # Usage: ./dns_check.py <list_of_domain_names.txt> | |
| import dns.resolver | |
| import requests | |
| import re | |
| import json | |
| import sys | |
| resolver = dns.resolver.Resolver() | |
| resolver.timeout = 5 | |
| resolver.lifetime = 5 |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru
| #!/bin/bash | |
| # small tool to retreive vk.com (vkontakte) users hidden metadata (state, access, dates, counts, etc) anonymously (without login) | |
| # sudo apt install curl | |
| parse(){ | |
| local IFS=\> | |
| read -d \< CELL VALUE | |
| } |