Coder Social home page Coder Social logo

onetrak-digital-forensics / ipextractx Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 34 KB

HTML Mail Regular Expression Search Pattern Detection Software

License: GNU General Public License v3.0

Python 100.00%
osint-python python-class python-parser

ipextractx's Introduction

 |_ _|  _ \| ____|_  _| |_ _ __ __ _  ___| |_\ \/ /
  | || |_) |  _| \ \/ / __| '__/ _` |/ __| __|\  / 
  | ||  __/| |___ >  <| |_| | | (_| | (__| |_ /  \ 
 |___|_|   |_____/_/\_\\__|_|  \__,_|\___|\__/_/\_\.py

MAJOR UPDATES

As of version 1.2.0, IPExtractX is now an importable class! Create the class initializer and try it out!

>>> from IPExtractX import IPExtractX as IPX

>>> mycustomobj = IPX(content_dir,
                  output_file,
                  keywords_file,
                  detect_ipaddr,
                  detect_hostname,
                  detect_wordsearch,
                  detect_emails,
                  detect_pgpheader).execute_parser()

>>> if mycustomobj.parsed_ipaddr in customiplistobj:

>>> DO SOMETHING

This update requires a change in the requirements.txt file.
If you have not already, After cloning the repository, re-execute
the below commands to fix any ImportErrors you may recieve.

Script Setup

Import Required Modules Via Python3-PIP

  • Execute: pip install -r requirements.txt

Import Required Modules Via Command

  • Execute: pip install rich ipaddress regex typer

Script Usage

Pre-Requisites:

  • UTF-8 Textual Data, Contained in Exported Emails.
  • Word List File, Ex. wordlist.txt, this file can be empty.

The Shebang Snippet For Python Environment Execution Is Set As The File Header.
To Execute, Make Sure You Authorize Execution Permissions With chmod +x IPExtractX.py
on UNIX Type Systems

The Help Command:

Execute: ./IPExtractX.py --help

IPExtractX Help Image

The WordSearch Function

To Run The Scenario With Word Detection, Please Execute With The --detect-wordsearch Argument
Then Specify A List Format File During Execution with --keywords-file, Default is wordlists/words1.list

Please Note:

  • WordSearch is Non-Case-Sensitive, May Produce False Posatives.
  • WordSearch Detects The Non-Captilized Type Characters, And Will Encode Words This Way When Searching.
  • WordSearch Obtains It's Search Index From a Wordlist File. Please Ensure Your File is UTF-8 & Is Placed in List Format

ipextractx's People

Contributors

odf-community avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.