Skip to content

Conversation

@FilippoRanza
Copy link

added -f option, that let the user specify target addresses from a file.

@@ -0,0 +1,3 @@
192.168.0.2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I believe that this file is unnecessary

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this file

kickthemout.py Outdated

def target_files(option, opt, value, parser):
with open(value) as file:
addr_list = file.readlines()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • addressFile instead of addr_list (camel case)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I update all names to camel case

kickthemout.py Outdated

parser.add_option('-f', '--file', action='callback',
callback=target_files, type='string',metavar='FILE',
dest='targets', help='read target IP address(es), one per line, from given file and perform attack')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I believe read target IP address(es) from line-separated file and perform attack sounds better

@k4m4
Copy link
Owner

k4m4 commented May 18, 2019

Hi there. Thank you for this. Please have a look at my review. Also, it would be nice if you could change your commit messages to imperative - add instead of added. Thanks!

Copy link

@MajiOSx MajiOSx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants