home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PWAEF21.ZIP
/
EXTERNAL.ZIP
/
BCNUKE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-12-03
|
2KB
|
137 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
;------------------------------------------------------------------------------
STRING003 = GetToken()
STRING001 = PPEPath() + "bcnuke.cfg"
If (Exist(STRING001)) Goto LABEL001
FreshLine
PrintLn "Error: Flag.ppe is setup to use NUKE.PPE but cannot"
PrintLn "find BCNUKE.CFG, please contact sysop"
End
:LABEL001
BOOLEAN001 = 0
If (Exist(PPEPath() + "USERS.CFG")) Then
GetUser
FOpen 1, PPEPath() + "USERS.CFG", 0, 2
FGet 1, STRING005
:LABEL002
If (Ferr(1)) Goto LABEL003
If (Upper(STRING005) == Upper(U_Name())) Then
BOOLEAN001 = 1
FClose 1
Goto LABEL003
Endif
FGet 1, STRING005
Goto LABEL002
:LABEL003
FClose 1
Endif
If (BOOLEAN001 == 0) Then
Print "@X0CSorry, you are not allowed to nuke files.@X07"
Delay 25
Newline
End
Endif
STRING002 = ReadLine(STRING001, 1) + "\bcnk" + String(CurConf()) + "." + String(PcbNode())
If (Upper((ReadLine(STRING002, 1) <> U_Name()))) Then
FClose -1
Delete STRING002
FAppend 1, STRING002, 1, 0
FPutLn 1, U_Name()
Else
FClose -1
FAppend 1, STRING002, 1, 0
Endif
STRING004 = String(PCBMac("@DIRNUM@"))
If (STRING004 == "") Then
STRING004 = String(PCBMac("@NUMDIR@"))
Endif
If (STRING003 <> "") FPutLn 1, STRING003 + " " + STRING004
FClose 1
Print "@X0CFile flagged for nuking. Don't forget to run NUKE!@X07"
Delay 25
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 10 Goto
; 7 Let
; 2 Print
; 2 PrintLn
; 8 If
; 1 FOpen
; 2 FAppend
; 5 FClose
; 2 FGet
; 2 FPutLn
; 1 GetUser
; 1 Delete
; 2 Delay
; 1 Newline
; 1 FreshLine
;
;
; ■ Functions used :
;
; 2 -
; 9 +
; 3 ==
; 2 <>
; 7 !
; 3 Upper()
; 1 Ferr()
; 3 U_Name()
; 4 String()
; 1 CurConf()
; 3 PPEPath()
; 1 PcbNode()
; 2 ReadLine()
; 1 GetToken()
; 2 Exist()
; 2 PCBMac()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 5 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------