Skip to main content

Python HTTP/HTTPS Requester.

Project description

# Requester

[![PyPI version](https://badge.fury.io/py/requester.svg)](https://github.com/kssim/requester)
[![Build Status](https://travis-ci.org/kssim/requester.svg?branch=master)](https://github.com/kssim/requester)
[![codecov](https://codecov.io/gh/kssim/requester/branch/master/graph/badge.svg)](https://github.com/kssim/requester)
[![Code Health](https://landscape.io/github/kssim/requester/master/landscape.svg?style=flat)](https://github.com/kssim/requester)
[![Python](https://img.shields.io/badge/python-2.7-brightgreen.svg?style=flat)](https://github.com/kssim/requester)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/kssim/requester)

Requester is a python based HTTP / HTTPS request simulator.
Basically, you create a request statement, send the request as it is, and check the response.
In addition, it extracts the request from the pcap file, or sends the extracted request and compares the response with the response of the pcap file.


# Installation
To install Requester, simply:
```bash
$ pip install requester
```


# Usage
* Basic Argument Description

```bash
$ requester
Usage: requester

Options:
-h, --help show this help message and exit
--port=PORT port name(default 80)
--host=HOST host name or ip address
-f FILE, --file=FILE request file name(include full path)
--pcap=PCAP packet dump file name(include full path)
-e, --extraction Extract http request from packet dump file.
-c, --check Send an http request in the packet dump and compare
the response.
```


* Simple Usage without request file.

```bash
$ requester --host [website] --port [port]
```


* Simple usage with request file.

```bash
$ requester --host [website] --port [port] --file [request file full path]
```


* Extract request file from packet dump.

```bash
$ requester -e --pcap [pcap file full path]
```


* Sends the contents extracted from the request file in the packet dump and compares the response.

```bash
$ requester -c --pcap [pcap file full path]
```


# Documentation
I'll be writing soon.



# Contribute
If you have an idea or issue, feel free to open an issue or make pull request.
I'll create and share a structured process to contribute soon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requester-0.6.1.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file requester-0.6.1.tar.gz.

File metadata

  • Download URL: requester-0.6.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for requester-0.6.1.tar.gz
Algorithm Hash digest
SHA256 1103bcc5851f14dbf9b26826d16645a1c72f2ed892664e54147b15bc343c2f5e
MD5 3572cd86247eeda51abe88d68fbd6b0b
BLAKE2b-256 7b3eeb67321618fbf07d72119a2481105bf1087f686b31f3009c0eb750f730aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page