Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
222 views
in Technique[技术] by (71.8m points)

Making an IP list using nmap and python

I am trying to make an IP list using nmap and python so I used nmap to create a random IP list so the problem is that the list contains the text "Nmap scan report for" in ever line so I want a clean list without any text just IP If there's is anyway please help me

question from:https://stackoverflow.com/questions/65848675/making-an-ip-list-using-nmap-and-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I used a text editor I used the replace function


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...