HTTP graph database built in Python 3

HTTP graph database built in Python 3. Reference Format References are strings in the format:{[email protected]} Authentication Currently, there is no authentication system. I’m working to implement one. Query depth Currently, there is no query depth. I’m working to implement it. HTTP API Query node by reference GET /{[email protected]}Response 200 with JSON body Query nodes by group GET /@GROUPResponse 200 with JSON body Insert node with reference PUT /{[email protected]}Request must have JSON bodyResponse 201 with Location header Insert node    

Read more

HTTP proxy pool server primarily meant for evading IP whitelists

HTTP proxy pool server primarily meant for evading IP whitelists. Create a file named proxies.txt and fill it with your HTTP proxies. Replace the AUTH_KEY constant in server.py with something secure. Set your firewall to allow TCP port 5407. Run server.py. import requests # proxy index auth key # v v proxy_url = “http://0:[email protected]:5407″ resp = requests.get( url=”https://api.ipify.org/?format=json”, proxies={“https”: proxy_url} ) print(resp.json()) GitHub View Github    

Read more

Take a list of domains and probe for working HTTP and HTTPS servers

Take a list of domains and probe for working http and https servers. Install ▶ go get -u github.com/tomnomnom/httprobe Basic Usage httprobe accepts line-delimited domains on stdin: ▶ cat recon/example/domains.txt example.com example.edu example.net ▶ cat recon/example/domains.txt | httprobe http://example.com http://example.net http://example.edu https://example.com https://example.edu https://example.net By default httprobe checks for HTTP on port 80 and HTTPS on port 443. You can add additional probes with the -p flag by specifying a protocol and port pair: ▶ cat domains.txt | httprobe -p […]

Read more

A screaming-fast, scalable, asynchronous Python 3.5+ HTTP toolkit integrated

Japronto There is no new project development happening at the moment, but it’s not abandoned either. Pull requests and new maintainers are welcome. If you are a novice Python programmer, you don’t like plumbing yourself or you don’t have basic understanding of C, this project is not probably what you are looking for. Japronto (from Portuguese “já pronto” /ˈʒa pɾõtu/ meaning “already done”) is a screaming-fast, scalable, asynchronous Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop […]

Read more

Modest utility collection for development with AIOHTTP framework

aiohttp-things Modest utility collection for development with AIOHTTP framework. Installation Installing aiohttp-things with pip: pip install aiohttp-things Simple example Example of AIOHTTP application import json import uuid import aiohttp_things as ahth from aiohttp import web def safe_json_value(value): try: json.dumps(value) return value except (TypeError, OverflowError): return str(value) class Base(web.View, ahth.JSONMixin, ahth.PrimaryKeyMixin): async def get(self): self.context[‘Type of primary key’] = safe_json_value(type(self.pk)) self.context[‘Value of primary key’] = safe_json_value(self.pk) return await self.finalize_response() class IntegerExample(Base): pk_adapter = int class UUIDExample(Base): pk_adapter = uuid.UUID UUID = […]

Read more

Module for remote in-memory Python package/module loading through HTTP/S

httpimport Remote, in-memory Python package/module importing through HTTP/S A feature that Python2/3 misses and has become popular in other languages is the remote loading of packages/modules. httpimport lets Python2/3 packages and modules to be imported directly in Python interpreter’s process memory, through remote URIs, and more… Examples Load a simple package/module through HTTP/S >>> with httpimport.remote_repo([‘package1′,’package2′,’package3’], ‘http://my-codes.example.com/python_packages’): … import package1 … Load directly from a GitHub/BitBucket/GitLab repo Load a python file from a github-gist (using this gist): import httpimport url […]

Read more

An awesome library that records and replays HTTP interactions for unit tests

Cornell: record & replay mock server When your application integrates with multiple web based services, end-to-end testing is crucial before deploying to production. Mocking is often a tedious task, it becomes even more tiresome when working with multiple APIs from multiple vendors. vcrpy is an awesome library that records and replays HTTP interactions for unit tests. Its output is saved to reusable “cassette” files. By wrapping vcrpy with Flask, Cornell provides a lightweight record and replay server that can be […]

Read more

A google search engine dorker with HTTP toolkit built with python

domhttpx domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time. Install > git clone https://github.com/naufalardhani/domhttpx.git > cd domhttpx > pip3 install -r requirements.txt > python3 domhttpx.py –help Flags This will display help for the tool. Here are all the switches it supports. Flag Description Example -ip, –only-ip Show output as IP only domhttpx –only-ip -od, –only-domain Show output as domain only […]

Read more

human-friendly CLI HTTP client for the API era

HTTPie HTTPie (pronounced aitch-tee-tee-pie) is a command-line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. The http & https commands allow for creating and sending arbitrary HTTP requests. They use simple and natural syntax and provide formatted and colorized output. GitHub https://github.com/httpie/httpie    

Read more
1 2