forked from DavidDikker/endgame
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display a warning when * is the evil principal
- Loading branch information
Showing
2 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
from endgame.shared import utils | ||
|
||
def confirm_anonymous_principal(): | ||
print(r""",,,,,,,,,,''',,'',,,,''''',''''',,,,,,''''''''''''''''''''''''''''''''''''''''.. | ||
,,,,,,,,,,'',,,''',,,,,''',,,',;;,,;;:cccc;,''''''''''''''''''''''''''''''''''.. | ||
,,,,,,,,,,',,,,,,',,,,,,,,,';cc:,',,,,;;;:cc;,''',''''''''''''''''''''''''''..'' | ||
,,,,,,,,,,','',,',,,,,,,,,;lxd;.......'',,col:,',,'''''''''''''''''''''''''''''' | ||
,,,,,,,,,,,,,',,,,,,,,,,;oOkoo;..........'',,:;,,,,''''''''''''''''''''''''''''' | ||
,,,,,,,,,,,,,,,,,,,,,,,:xKKx:::.............',,,,,,,,''''''''''''''''''''''''''' | ||
,,,,,,,,,,,,,,,,,,,,,,,l00k:.,c;............',',,,,,,,,,,,,,,,''''''''''''''','' | ||
,,,,,,,,,,,,,,,,,,,,,,:dOx:.'cl:'...........,;,,,,,,,,,,,,,,,,,,,,,''''''''''''' | ||
,,,,,,,,,,,,,,,,,,,;;clod;.,:c;,............';,,,,,,,,,,,,,,,,,,,,,,,,,,'''''''' | ||
,,;;,,,,,,,,,,;;,,;;ckocl;;cc;'.............,:;;;;;,,,,,,,,,,,,,,,,,,,,,'''',,,, | ||
,;;,,,,,,;;;;;;;;;::dKOl;,cc,'.............',,;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,, | ||
;;;;;;;;;;;;;;;;:::o0KOx:'','............,;',;;;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,, | ||
;;;;;;;;;;;;;;::::lkK0kdl;'..............';::::::::;;;;;;;;;;;,,,,,,,,,,,,,,,,,, | ||
;;;;;;;;;;;;;;:::cxKKOdoc,,'..............,oo:::::::::::;;;;;;;;,,,,,,,,,,,,,,,, | ||
;;,,;;;;;;;;::::clO0kool::lc;.............,llldxxdolc::::;;;;;;;;;;;,,;;;;;;;;;; | ||
,,,,,;;;;;;;:::cldOOkxkkkkOx;..';ccccc::::lodddxkkkdc::::;;;;;;;;;;;;;;;;;;;;;;; | ||
,,,,,,;;;;;:::coxxxxxxdllc:'.,:coooollclooc:::;,,,,,,:ccclc:;;;;;;;;;;;;;;;;;;;; | ||
,,,,,;;;;:::::ccc:;:::;'.....'clllllcc:;,'........';cc;:ddc:cc:;;;;;;;;;;;;;;;;; | ||
,,,,;;;:::cccc:''''''''......';c:,,'''..................,'..';cc:;;;;;;;;;;;;;;; | ||
,,;;;::::cllc:;'............''.''...'.........................,:::::::;;;;;;;;;; | ||
,;;;::::cddc'.''..............................................;:::cc::::::::::;; | ||
;;;:::ccdOl,..,,.......''....................................',';clccccccc:::::: | ||
;:::ccclkdoxc'...............................................'..;lollllccccc:::: | ||
ccclllokk:cxo:..',,'............................................:ooollllcccc:::: | ||
loooddk0d:odc:lddo:,.......................''..................,odooolllcccccc:: | ||
odddxO0xol;',col:;'...................''',okl..................cxdoooollllcccccc | ||
ddxxOKko:'..,'............''........::;;;cxOl.................'dxddddooollllcccc | ||
ddk0KKd;..,;,..............'','..'';cddllxK0d'................:kxdddddooollllccc | ||
xk00Oo::;.';,..............''',,'';c;lxl:lO0;.................:kkxxdddooolllcccc | ||
OKOko,;l;...................''',;;,,;::;;,:c'..................ckxxxdddooollcccc | ||
Oxxxo;,'......................''',;;;,''.''....................'okxxxdddoollcccc | ||
ddkOkc............................',''''...'....................;okxxdddoollcccc | ||
cool;...............................:dl..........................,ldxddooollcccc | ||
..................................,lO0x,..........................,lxddooolllccc | ||
c:,..............';;'..............,c;.............................;oxddooolllcc | ||
;'...............';,...............................................:dxxddoollllc | ||
....................'''.'c:.................'......................,lxxxddoollcc | ||
..''.................','lkl'.................'.................'....',:ldddolllc | ||
...'...............''..'cc'..................''..............',,,......'cddoollc | ||
,...................''........................'.............''''','.....cddoollc | ||
.................................................................',.....cddoolll | ||
.................................................................''''..'oxddoool | ||
...................................................................',,,lkxxxddoo | ||
..................................................................'',lxkkxxxxddd | ||
.........................................';:c'....................'''cxkkxxxxddd | ||
....................................',,'..',:'.....................,',lxxxxxxddd | ||
......................','''''.',,,,',;:,...'.......................,;,;oxxxddddd | ||
......................',,,,'''',,,,,;;;,'....':;'''................'c;;dxxxddddd | ||
......................',,,,,,;;,'''..',,,....'::,,,,'..............'lclxxxdddddd | ||
'......................',,,,,,:l:,'''.','.....','..''..............,oxxxxxxddddd | ||
''......................,,,,,,',;;,,,''''.......'''''..............'okkkxxxxxdxd | ||
'........................''',,,,,''',''...........'''.'....''''....':dkkkxxxxxxd | ||
'..............................'''....'............'..............''':xkkxxxxxdd | ||
...............................................,;,,''..............'',lxxxxxxxdd | ||
,''.........................'...................'',,''..........''..''cxxxxxxxdd | ||
,..''.........................................'..''''''...............;oxxxxxxxd | ||
;,'...............................................'''''....'''....'...,lxxxxxxxd | ||
kdl:,'.........................................''...'......','..''....'cxxxxxxxx | ||
do;','..........................................''...........''........;dxxxxxxx | ||
::::'..'....................................................'''.......'lkkkxxkkx | ||
:llcc,',;:,................................................''........':xOkkkkkkk | ||
:lxc,lc'':c;.........................................................:lokOOOOOkk | ||
::ld:,ll:;::,........................................................,c:lkkkkkkk | ||
::;lxocc:::;,,'...........................'...........................',,lxkkkkk | ||
;;;:dOkd;:o;,''........................................................',:dxkkkO | ||
,,,;cxkkc:lc:'.''''.....................................................';odxkkO | ||
,,,,;lkkd::oc,''........................'.................................;oodxk | ||
,,,,,cOOxlcdddol,..........................................................,llll | ||
,,,,,ckkkocc;coc,...........................................................co:; | ||
,,,,,cxdoxOd:okxc.......................................................... 'dl; """) | ||
print("\n") | ||
utils.print_red("WARNING:") | ||
confirm = input("You are about to expose resources to the ENTIRE INTERNET. Are you sure you want to do that? [y/N]") | ||
if confirm.lower() == 'y': | ||
return True | ||
else: | ||
return False |