1个不稳定版本
0.1.12 | 2022年1月12日 |
---|---|
0.1.11 |
|
0.1.10 |
|
0.1.2 |
|
0.1.0 |
|
#9 in #收集
21KB
382 行
lemme_see
端口扫描API
这是一个用于“Pelican”的API,Pelican是一个免费和开源的数据收集平台。它目前处于初始提交阶段,因此可能会有所变化。该项目旨在通过网络安全工具和搜索引擎索引某些短语,将侦察和攻击面简化为更易于使用和消费的形式
主要内容
use lemme_see::{orchestrators::Conductor, tcp_worker::{Scnr, Grabber}};
fn main() {
let banner = Conductor::conduct_banner_grab("example.com", 80);
let reply_string = Conductor::conduct_send_string("example.com", "sup bro", 80);
let timeout_record = Conductor::conduct_timeout_scan("example.com", vec![80], 80);
let connect_record = Conductor::conduct_connect_scan("example.com", vec![80]);
let hosts = Conductor::conduct_host_lookup("example.com");
//prints BannerRecord
println!("{:?}", banner);
//prints BannerRecord
println!("{:?}", reply_string);
//prints TcpConnectRecord
println!("{:?}", timeout_record);
//prints TcpConnectRecord
println!("{:?}", connect_record);
//prints vec[string]
println!("{:?}", hosts);
let scnr_record = Scnr::connect_scan("8.8.8.8", vec![80]);
//prints vec[i32]
println!("{:?}", scnr_record);
let scnr_record = Scnr::timeout_scan("8.8.8.8", vec![80],80);
//prints vec[i32]
println!("{:?}", scnr_record);
let grabber_record = Grabber::banner_grab("8.8.8.8", 80, 80);
//prints string
println!("{:?}", grabber_record);
let grabber_record = Grabber::send_string("8.8.8.8", 80, "msg", 80);
//prints string
println!("{:?}", grabber_record);
}
依赖项
~290–510KB