Giter Club home page Giter Club logo

idregex's Introduction

Idregex

两个IP域名提取小工具,一个网页版,一个Python脚本版。

1. html+js

image-20220302104848841

更新日志 2023-09-25

  • Ajax 请求解析域名对应站点ICP公司名称信息(备案号暂时实现不了,好多查询接口都是鉴权的,只能手动输入)
  • 新增fofa、hunter搜索引擎的语法生成功能

更新日志 2023-03-30

  • IP提取增加路径以及参数的匹配
  • 优化路径匹配,当前只能匹配IP域名中带有路径信息路径匹配

更新日志 2023-03-22

  • 增加路径以及参数的匹配
  • 新增17种协议头识别:(file,ftp,gopher,glob,expect,mailto,mms,ed2k,flashget,thunder,news,php,bzip2,data,Zlib,ssh2,zip)
  • 新增主域名匹配可识别国内常见主域名,可识别常见27个二级域名。
  • 优化JS判断流程

2. Py scripts

2.1 需求场景

大批量服务器文本日志筛选IP域名,从而关联恶意IOC样本。

2.2 优点:

  • 支持多线程跑文件
  • 10M以上大文本文件分割读取

2.3 用法

python extract.py -f D:\\1.txt -a -p -D -t

**注意:**提取的结果是保存在当前目录中,result.csv。

-f, --file            only set one file to be extracted
-d, --directory       set a directory to be extracted
-D, --delete          Delete Duplicates 
-i,--only-ip          only extract IP
-n,--only-domain      only extract domain name
-a,--all              extract all, include extract IP and extract domain name
-t,--protocol type    matching protocol type, eg:http://127.0.0.1 
-p,--port             matching port,eg:127.0.0.1:1001
-h, --help            display this help and exit

idregex's People

Contributors

hasaki-h2 avatar secur1ty0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dnshook

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.