mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-22 19:37:18 +00:00
changed check is rootuser for use on github actions deploy
This commit is contained in:
parent
6a949fd9c0
commit
9154041608
@ -79,6 +79,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Initial commit. [mh4x0f]
|
- Initial commit. [mh4x0f]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- changed check is rootuser for use on github actions deploy [mh4x0f]
|
||||||
- changed name author to made by into bin/wifipumpkin3 [mh4x0f]
|
- changed name author to made by into bin/wifipumpkin3 [mh4x0f]
|
||||||
- refactored all controllers implementation codestyle [mh4x0f]
|
- refactored all controllers implementation codestyle [mh4x0f]
|
||||||
- improved folder copy code on setup.py [mh4x0f]
|
- improved folder copy code on setup.py [mh4x0f]
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
**Powerful framework for rouge access point attack.**
|
**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)
|
[![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/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/)
|
[![changelog](https://img.shields.io/badge/versioon-1.0.0-blue)](https://github.com/mh4x0f/wifipumpkin3/)
|
||||||
|
@ -38,8 +38,6 @@ def parser_args_func(parse_args):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if not getuid() == 0:
|
|
||||||
sys.exit("[!] Wp3 must be run as root.")
|
|
||||||
|
|
||||||
app = QtCore.QCoreApplication(sys.argv)
|
app = QtCore.QCoreApplication(sys.argv)
|
||||||
conf = SettingsINI.getInstance()
|
conf = SettingsINI.getInstance()
|
||||||
@ -91,6 +89,10 @@ if __name__ == "__main__":
|
|||||||
parse_args = parser.parse_args()
|
parse_args = parser.parse_args()
|
||||||
parser_args_func(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"))
|
_author = "{}".format(setcolor(__author__, color="yellow"))
|
||||||
_version = setcolor(__version__, color="yellow")
|
_version = setcolor(__version__, color="yellow")
|
||||||
_codename = setcolor(__codename__, color="ciano")
|
_codename = setcolor(__codename__, color="ciano")
|
||||||
|
Loading…
Reference in New Issue
Block a user