一款不需要买代理来减少扫网站目录被封概率的扫描器,适用于中小规格字典。

Overview

PoorScanner使用说明书

图片名称

-工具在不同环境下可能不怎么稳定,如果有什么问题恳请大家反馈。说明书有什么错误的地方也大家欢迎指正。

更新记录 2021.8.23

修复了云函数主程序 gitee上传文件接口写错了的BUG(之前把自己的上传地址写死进去了,没从配置文件里读)

更新了说明书


PoorScanner是一款依托腾讯云serverless云函数服务的目录扫描器,由于腾讯云云函数每次网络请求会有不同的出网IP(大概三四十个) 可以依靠此特性来实现简单的扫目录防封功能。适用于扫描中小型字典,不想花钱买代理的用户。(球球给孩子颗星星吧)

QQ截图20210822220928.png

使用

服务端环境 python 3.6

客户端环境 python 3.8(三点几的都应该可以)

需要安装的依赖

客户端:

pip install requests
pip install colorama
pip install tencentcloud-sdk-python

服务端:

服务端各依赖已经打包好,直接上传就行。这边只是说明下。

aiohttp

使用说明

python poorscanner.py -h    //获取帮助信息

e.g

python poorscanner.py -u http://www.baidu.com/
python poorscanner.py -u http://www.baidu.com/ -d php.txt  自定义字典(需放在dictionary目录下)
python poorscanner.py -u http://www.baidu.com/ -s 60    自定义速度
python poorscanner.py -u http://www.baidu.com/  -t hidden 隐蔽扫描
-h, --help            show this help message and exit
  -u U                  输入扫描的目标 e.g http://www.baidu.com/
  -d D                  输入要使用的自定义字典名(请放在dictionary目录下)
  -s S                  扫描速度
  -m M                  请求方式 head(这个快点) get 默认为get
  -t T                  模式默认为普通模式扫描 传参为hidden为隐蔽扫描
  -cut_times CUT_TIMES  隐蔽扫描模式下使用,讲字典切割的片段数,默认为 10-wait_time WAIT_TIME  每个片段扫描完成后延时的时间默,认为60S
  --getid GETID         获取requestID的报告 (占坑 这个没写好懒得删了)

注意:

  • 扫描速度为并发的协程数 默认为30 意思时可以同时异步执行请求的数量网站封的严就慢点平时没事扫可以调高点 100啥的
  • url请使用标准点的格式 http://www.baidu.com/
  • 扫描用的字典需要放在dictionary目录下面,自定义使用字典时只要输入文件名就行了
  • 默认字典为Dirsearch的默认字典
  • 如果指定head方式扫描速度会快 不过如果有些站不支持的这请求方式就会报错
  • 轮询时会在那边等待云函数结果,没加进度条 放那边等吧,如果长时间没结果可以去腾讯云函数日志模块下看看报错原因
  • 用的时候关了代理,开着 requests模块会报错。

扫描模式

-t 指定扫描模式

  • normal 正常模式 字典长度过大会自动拆分分批发送
  • hidden 隐蔽模式(我也不知道有没有用) 这个就是按照要求把一个字典分成好多个小字典 然后间隔指定时间发送 只有第一个小字典扫完以后才会第二个小字典。使用时如果不指定cut_times 和wait_time 默认时切分10个小字典 每个扫完等一分钟

环境部署

创建云函数

腾讯云搜索云函数

Untitled

进去以后新建个python空白模板,不要点一键创建

Untitled

点击高级配置勾选异步执行,然后再改执行超时时间,内存可以稍微调高点。然后chuang

Untitled

Untitled

Untitled

解压server.zip文件 点击上传文件夹,上传server文件夹(点上传zip会出错我也不知道为啥),然后点击部署。

Untitled

Untitled

填写配置文件

config.ini 客户端
[Server]
id=腾讯云的API密钥 SecretId
key=腾讯云的API密钥 SecretKey
function_name=poorscanner  创建的云函数的名字
reigon=ap-shanghai   创建的云函数地区

[Gitee]
owner=Gitee用户的名字
repo=创建的项目名子(用来中转扫描结果)
brach=master(分支)

[Dir]
cut_size=100000 (普通模式扫描时单次扫描字典最大长度上限)
cycle_time=15(结果轮询周期)
server.ini 服务端的
[Gitee]
access_token= GITEE的私人令牌
owner=同上
repo=同上
  • 腾讯云的密钥请在账号中心→访问管理→访问密钥处生成

Untitled

  • 你需要创建一个gitee用户 并且创建一个项目用来中转扫描结果(腾讯云的云函数日志功能太拉了没办法。。。。)

注意 用户名是@后面的那个不要填错

Untitled

创建个仓库 一定一定要选添加README.MD这样会自动创建master分支!!!!!

Untitled

看见上面的仓库地址了吗?

https://gitee.com/maple_10101/poorscanner

maple_10101对应owner

poorscanner 对应配置文件中的 repo

然后去申请个gitee私人令牌,然后记住令牌,填写在配置文件中。

Untitled

将配置文件填写到客户端服务端的配置文件中就完成了 服务端填写完成后要保存下然后点击部署

配置完成!

Minimal Windows system information tool written in Python

wfetch wfetch is a Minimal Windows system information tool written in Python (Only works on Windows) Installation First of all have python installed.

zJairO 3 Jan 24, 2022
A collection of utility functions to prototype geometry processing research in python

gpytoolbox This repo is a work in progress and contains general utility functions I have needed to code while trying to work on geometry process resea

Silvia Sellán 73 Jan 06, 2023
pydsinternals - A Python native library containing necessary classes, functions and structures to interact with Windows Active Directory.

pydsinternals - Directory Services Internals Library A Python native library containing necessary classes, functions and structures to interact with W

Podalirius 36 Dec 14, 2022
A work in progress box containing various Python utilities

python-wipbox A set of modern Python libraries under development to simplify the execution of reusable routines by different projects. Table of Conten

Deepnox 2 Jan 20, 2022
✨ Un chois aléatoire d'un article sur Wikipedia totalement fait en Python par moi, et en français.

Wikipedia Random Article ❗ Un chois aléatoire d'un article sur Wikipedia totalement fait en Python par moi, et en français. 🔮 Grâce a une requète a w

MrGabin 4 Jul 18, 2021
A workflow management tool for numerical models on the NCI computing systems

Payu Payu is a climate model workflow management tool for supercomputing environments. Payu is currently only configured for use on computing clusters

The Payu Organization 11 Aug 25, 2022
Hot reloading for Python

Hot reloading for Python

Olivier Breuleux 769 Jan 03, 2023
Aurin - A quick AUR installer for Arch Linux. Install packages from AUR website in a click.

Aurin - A quick AUR installer for Arch Linux. Install packages from AUR website in a click.

Suleman 51 Nov 04, 2022
Kanye West Lyrics Generator

aikanye Kanye West Lyrics Generator Python script for generating Kanye West lyrics Put kanye.txt in the same folder as the python script and run "pyth

4 Jan 21, 2022
ticktock is a minimalist library to view Python time performance of Python code.

ticktock is a minimalist library to view Python time performance of Python code.

Victor Benichoux 30 Sep 28, 2022
The Black shade analyser and comparison tool.

diff-shades The Black shade analyser and comparison tool. AKA Richard's personal take at a better black-primer (by stealing ideas from mypy-primer) :p

Richard Si 10 Apr 29, 2022
Monte Carlo simulation of 3G rules

mc3g Monte Carlo simulation of 3G rules This project contains the Python code to do simulations of events according to the 3G rule (in German: "Geimpf

Jan Christoph Terasa 4 Nov 01, 2021
A tool to create the basics of a project

Project-Scheduler Instalação Para instalar o Project Maker, você necessita está em um ambiente de desenvolvimento Linux ou wsl com alguma distro debia

2 Dec 17, 2021
This two python programs can convert km to miles and miles to km

km-to-miles These two little python programs can convert kilometers to miles and miles to kilometers Needed Python3 or a online python compiler with t

Chandula Janith 3 Jan 30, 2022
Link-tree - Script that iterate over the links found in each page

link-tree Script that iterate over the links found in each page, recursively fin

Rodrigo Stramantinoli 2 Jan 05, 2022
This program organizes automatically files in folders named as file's extension

Auto Sorting System by Sergiy Grimoldi - V.0.0.2 This program organizes automatically files in folders named as file's extension How to use the code T

Sergiy Grimoldi 1 Jan 07, 2022
Similar looking domain detection using python fuzzywuzzy

Major cause of phishing and BEC incident is similar looking domain, if you detect it early, you can prevent incidents early, python fuzzywuzzy module let you do that

2 Nov 07, 2021
Brainfuck rollup scaling experiment for fun

Optimistic Brainfuck Ever wanted to run Brainfuck on ethereum? Don't ask, now you can! And at a fraction of the cost, thanks to optimistic rollup tech

Diederik Loerakker 48 Dec 28, 2022
Python Random Number Genrator

This Genrates Random Numbers. This Random Number Generator was made using python. This software uses Time and Random extension. Download the EXE file and run it to get your answer.

Krish Sethi 2 Feb 03, 2022
Edit SRT files to delay subtitle time-stamps.

subtitle-delay A program written in Python that directly edits SRT file to delay the subtitles. Features: Will throw an error if delaying with negativ

8 Jul 17, 2022