Skip to main content

SEQPARSER

codecov PyPI version Requirements Status Code Coverage Quality check

Get dependencies for a given package management system and a given package.

Install

You can install seqparser either via pip (PyPI) or from source. To install using pip:

python3 -m pip install seqparser

Or manually:

git clone https://github.com/remiflavien1/seqparser
cd seqparser   
python3 setup.py install   

Usage

CLI

Find command

Search through all regex from regIndex.txt in test/random.txt

$ seqparser find --all -f regindex.txt -s test/random.txt

validEmail: ['sometest@gmail.com']
ip_adress: ['198.127.158.45', '192.168.1.1']
macAdress: ['406068601171', '454415000055', 'FF:FF:FF:FF:FF:FF', '00:A0:C9:14:C8:29', '00:00:5E:00:01:28', '406067601871', '006129876543', '406017401951']
bitcoin: ['3npMjJYuAEGyZr1uLBsDWSwz1xuPzdxcL4Y', '3cLwdE1xcNGpx3usW9jzYC3erDS3d', '17ZtZF9r8BruWo62ddHYH6ucMVUfKQR', '1kV8NfTA7X1bh5cPekpWmEfg6MiD', '3QWz49mGLkg1gw9T8kUWV8TeCxFCJKpKmQ7', '3XpULLXUcTpBp1VUh3aDYrkEymySWm8pjnJ', '1j2Gjjehdi5KRQW3yHCEWjCHZpn9sxDupN', '13rV3W8pVTKjYXVUK6eS9E4AyMn3YuEQa9E', '39ui5NBjs82TkbTKrV2nkub4RX7hjDwdD', '3935XvxKuSDXHgd1EyaNvUHUr78nspTLCBF', '1XVLr6QYeCSFkAT2hc43uKrZEJsL', '33689657852p1234AxX7kbN4K8D1f1m1rD7', '1Wrcy4pXFfHJsr4xhATMQdqkMKsYgDPRjHu', '197TPY8Rviih6ykQ6aikdc7p5gcJG', '3DbEb6pqptsmmW5TnfpQ9Sd2fv47USFL', '1MyXo1o3vPeWB1tDHfvKVrCmChCNJ', '3E1DLQUmm7u2vePTa2Qz9LrUp2QnfvepQvc', '1zsbg36cXCzD4kQpuhQUe1j2V2hPyntdsWH', '1b61jMdJwGoejWTc1TF8Y23E722vn4RTa', '3vkiwibfiwucd6vxijskbhpjdyajmzeor4m', '1F1vvS15QLi7YE4nkYn239Wd5vDXL49Qs', '1xk4RwYpaySpdCPmsh61FpWKuGr7K1Gvsfs', '1zsbg36cXCzD4kQpuhQUe1j2V2hPyntdsWH', '1b61jMdJwGoejWTc1TF8Y23E722vn4RTa']
onion_v2: ['c4i7yopvpo4p7cyd.onion']
onion_v3: ['jamie3vkiwibfiwucd6vxijskbhpjdyajmzeor4mc4i7yopvpo4p7cyd.onion']

Search a specific regex from regIndex.txt in test/random.txt

$ seqparser find --partial ip_adress -f regindex.txt -s test/random.txt

ip_adress: ['198.127.158.45', '192.168.1.1']

List Command

Just list all the regular expression available in regIndex.txt

$ seqparser list

validEmail
ip_adress
macAdress
bitcoin
onion_v2
onion_v3
...

ROADMAP

  • Add support for Pyre2
  • Add support for other regex expression (mostly for OSINT)
  • Add specific analysis on some regex (with a --detail flag for example)
  • Add a scoring feature based on exact matching and deviation from original regex
  • Add output export
  • Add Web dashboard visualization

Download files

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

Source Distribution

seqparser-1.1.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seqparser-1.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file seqparser-1.1.2.tar.gz.

File metadata

  • Download URL: seqparser-1.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for seqparser-1.1.2.tar.gz
Algorithm Hash digest
SHA256 caecabab53ad4dea6ac200cdcf2f92b4e81e0fac3e6fa1a956acfac0b9554020
MD5 1a205c1498df6b0a228a040ff7d7e27e
BLAKE2b-256 7b469e67cfaac4641ea15bdc0eb9297a2a0a73012339a4d2070ac714eb567922

See more details on using hashes here.

File details

Details for the file seqparser-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: seqparser-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for seqparser-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58811846bc89c387c2553cc2ce923410af9bc64e70ca2adbee0f7b0532e83204
MD5 d9609a5845cbd7aef931dc66e507c214
BLAKE2b-256 2f3d00c36aba7bc7fa76399bc7eb7b4aa5d318b7297011d1e150653dfa6d54f8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page