diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a5639c..71633a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ All notable changes to this project will be documented in this file. - Initial commit. [mh4x0f] ### Changed +- changed check is rootuser for use on github actions deploy [mh4x0f] - changed name author to made by into bin/wifipumpkin3 [mh4x0f] - refactored all controllers implementation codestyle [mh4x0f] - improved folder copy code on setup.py [mh4x0f] diff --git a/README.md b/README.md index 12c5b22..4f8030c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ **Powerful framework for rouge access point attack.** +[![build status](https://github.com/facebookincubator/Bowler/workflows/Build/badge.svg)](https://github.com/mh4x0f/wifipumpkin3/actions) [![license](https://img.shields.io/badge/license-apache%202-orange)](https://github.com/mh4x0f/wifipumpkin3/blob/dev/LICENSE.md) [![changelog](https://img.shields.io/badge/change-log-yellow)](https://github.com/mh4x0f/wifipumpkin3/blob/dev/CHANGELOG.md) [![changelog](https://img.shields.io/badge/versioon-1.0.0-blue)](https://github.com/mh4x0f/wifipumpkin3/) diff --git a/bin/wifipumpkin3 b/bin/wifipumpkin3 index e53ecee..93abf97 100755 --- a/bin/wifipumpkin3 +++ b/bin/wifipumpkin3 @@ -38,8 +38,6 @@ def parser_args_func(parse_args): if __name__ == "__main__": - if not getuid() == 0: - sys.exit("[!] Wp3 must be run as root.") app = QtCore.QCoreApplication(sys.argv) conf = SettingsINI.getInstance() @@ -90,6 +88,10 @@ if __name__ == "__main__": parse_args = parser.parse_args() parser_args_func(parse_args) + + # check is rootuser + if not getuid() == 0: + sys.exit("[!] Wp3 must be run as root.") _author = "{}".format(setcolor(__author__, color="yellow")) _version = setcolor(__version__, color="yellow")