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 python | |
| # | |
| # Copyright 2013 Trey Morris | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
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 'formula' | |
| class Howdoi < Formula | |
| homepage 'https://github.com/gleitz/howdoi/' | |
| url 'http://pypi.python.org/packages/source/h/howdoi/howdoi-1.1.7.tar.gz' | |
| sha1 '44d89c0eaf0bea3c13e8774b4207a1ec5c7eecb0' | |
| def install | |
| setup_args = ['setup.py', 'install'] | |
| system "python", *setup_args |
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 python | |
| # | |
| # Copyright 2013 Trey Morris | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
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 python | |
| # | |
| # Copyright 2013 Trey Morris | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
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 __future__ import print_function | |
| import getprox, sys | |
| print('Getting proxy lists.') | |
| proxy_uri_list = getprox.proxy_get() | |
| if not proxy_uri_list: | |
| print('[!]Attention soldier: Something went wrong, try again later.') | |
| sys.exit() | |
| print('Writing to file.') |
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 __future__ import print_function | |
| import requests | |
| from lxml.html import parse | |
| import codecs | |
| import os | |
| def process_downloads(): | |
| url = "http://www.net-security.org/insecure-archive.php" | |
| html_tree = parse(url) | |
| pdf_links = html_tree.xpath("//h2[@class='style12']/a/@href") |
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 __future__ import print_function | |
| import requests | |
| from lxml.html import parse | |
| import codecs | |
| import os, tarfile | |
| #import evilupload | |
| from evilupload import evilupload | |
| import sys | |
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
| # dnsfind.py <startip> <endip> | |
| import sys | |
| import socket | |
| import struct | |
| # basic DNS header for 1 query | |
| def buildDNSQuery(host): | |
| packet=struct.pack("!HHHHHH", 0x0001, 0x0100, 1, 0, 0, 0) |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "os" | |
| "regexp" | |
| "strings" | |
| ) |
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
| /** | |
| Program: Counter.cpp | |
| It counts the number of letters, special chars, words, lines and sentences, and | |
| detect what and how many words are the same. | |
| Site: http://evilzone.org/weekly-challenge/challenge-15-text-element-counter/ | |
| Thoughts: I think Kulver has gotten rusty. | |
| **/ | |
| #include <iostream> | |
| #include <string> |