Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
ChappIO46978yTry this:
cat "path/to/logfile" | grep -e "[0-9]\{0,3\}\\.[0-9]\{0,3\}\\.[0-9]\{0,3\}\\.[0-9]\{0,3\}" -o -
@ChappIO here is the log and thanks i never used grep but i know it works the best for this
http://pastebin.com/SBh7NMDP -
ChappIO46978y@inpothet The command I posted seems to work and grabs all ip addresses. However, I don't know if that is exactly waht you're looking for
-
Kimmax111068yDon't even try. The machines will be hacked ones. The only one you will find are users who do to know about their computer's shady second life
-
@Kimmax only thing I wanted to do is to contact the ISP as I got notice that this was happening Al over the Netherlands yesterday and people are speculating it was the Turks due to the bad situation between our countries
Related Rants
O great devs that know grep I have a log that I took from a local company's router that got DOSsed yesterday (they sell very nice sandwiches) and I wanted to know how I can take only the IP's from the log so that I can take action against the users (contacting the abuse if the ISP)
undefined
dos attack
grep
list items