home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
T
/
TNH!SPW.ZIP
/
SPW.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1990-12-29
|
1KB
|
103 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
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
String STRING004
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + "SPW.CFG", 0, 0
FGet 1, STRING001
INTEGER001 = 2
STRING002 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz _!./,'"
DispFile PPEPath() + "PRSPW", 4 + 2 + 1
INTEGER002 = 0
FOpen 2, PPEPath() + "PROMPT", 4 + 2 + 1, 0
FGet 2, STRING004
:LABEL001
InputStr STRING004, STRING003, 10, Len(STRING001) + 5, STRING002, 1
Log "SystemPassword '" + STRING003 + "' was used.", 0
Inc INTEGER002
If (Upper(STRING003) == STRING001) Goto LABEL003
If (INTEGER002 == INTEGER001 + 1) Goto LABEL002
PrintLn
Goto LABEL001
:LABEL002
DispFile PPEPath() + "BADPW", 4 + 2 + 1
Log "User failed SystemPassword verification.", 0
Hangup
:LABEL003
PrintLn
DispFile PPEPath() + "OKPW", 4 + 2 + 1
Log "SysPass Entry on Attempt #" + INTEGER002 + ".", 0
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 3 Goto
; 3 Let
; 2 PrintLn
; 2 If
; 3 DispFile
; 2 FOpen
; 2 FGet
; 1 Hangup
; 3 Log
; 1 InputStr
; 1 Inc
;
;
; ■ Functions used :
;
; 19 +
; 2 ==
; 1 Len(
; 1 Upper()
; 5 PPEPath()
;
;------------------------------------------------------------------------------
;
; Analysis flags : B
;
; B - Brute hangup ■ 1
; Program hangup without notification. This may be a good way to
; disconnect a user, but if used randomly, may be very nasty
; ■ Search for : HANGUP, DTROFF
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------