home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PWAA1L20.ZIP
/
ONELINER.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-03-14
|
4KB
|
222 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 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String TSTRING013(100)
;------------------------------------------------------------------------------
If (!STRING001) STRING001 = "" ; PPLC BUG!
StartDisp 1
FOpen 1, PPEPath() + "ONELINER.CNF", 0, 0
FGet 1, INTEGER005
FGet 1, STRING008
FGet 1, STRING007
FGet 1, STRING006
FGet 1, STRING009
FGet 1, STRING011
FGet 1, STRING012
FClose 1
FreshLine
If (Exist(PPEPath() + "ONELINER.TOP")) DispFile PPEPath() + "ONELINER.TOP", 0
If (Exist(PPEPath() + "ONELINER.DAT")) DispFile PPEPath() + "ONELINER.DAT", 0
If (Exist(PPEPath() + "ONELINER.BOT")) DispFile PPEPath() + "ONELINER.BOT", 0
InputStr STRING009 + "_", STRING010, 1, 1, "YyNn", 4096
If ((Lower(STRING010) == "n") || (Lower(STRING010) == "")) Then
FreshLine
End
Endif
FreshLine
If (Exist(PPEPath() + "ONELINER.ENT")) DispFile PPEPath() + "ONELINER.ENT", 0
Color 7
STRING003 = ""
INTEGER001 = 0
While (STRING003 <> Chr(13)) Do
STRING003 = Inkey()
If (((Len(STRING003) == 1) && (STRING003 >= " ")) && (INTEGER001 < 75)) Then
Print STRING003
Inc INTEGER001
STRING002 = STRING002 + STRING003
If (StripAtx(Right(STRING002, 4)) == "") Then
INTEGER003 = CurColor()
For INTEGER002 = 1 To 4
Print Chr(8) + " " + Chr(8)
Dec INTEGER001
Next
Print Right(STRING002, 4)
Endif
Continue
Endif
If ((STRING003 == Chr(8)) && (Len(STRING002) > 0)) Then
If (StripAtx(Right(STRING002, 4)) == "") Then
Color INTEGER003
STRING002 = Left(STRING002, Len(STRING002) - 4)
Continue
Endif
Print Chr(8) + " " + Chr(8)
Dec INTEGER001
STRING002 = Left(STRING002, Len(STRING002) - 1)
Endif
EndWhile
If (StripAtx(STRING002) <> "") Then
If (Lower(STRING008) == "no") Goto LABEL001
STRING004 = StripAtx(STRING002)
For INTEGER004 = 0 To Len(STRING004)
STRING005 = Right(STRING004, Len(STRING004) - INTEGER004)
If ((((InStr(STRING005, "@USER@") == 1) || (InStr(STRING005, "@FIRST@") == 1)) || (InStr(STRING005, "@FIRSTU@") == 1)) || (InStr(STRING005, "@LASTCALLERSYSTEM@") == 1)) Then
FreshLine
PrintLn STRING012
End
Endif
Next
:LABEL001
If (Exist(PPEPath() + "ONELINER.DAT")) Goto LABEL002
FCreate 4, PPEPath() + "ONELINER.DAT", 1, 0
FPutLn 4, STRING006 + "| " + STRING007 + "Oneliners have been reset!@POS:79@" + STRING006 + "|"
FClose 4
:LABEL002
Rename PPEPath() + "ONELINER.DAT", PPEPath() + "ONELINER.$$$"
FOpen 2, PPEPath() + "ONELINER.$$$", 0, 0
FOpen 3, PPEPath() + "ONELINER.DAT", 1, 0
For INTEGER006 = 1 To INTEGER005
FGet 2, TSTRING013(INTEGER006)
If (TSTRING013(INTEGER006) == "") Break
Next
FClose 2
Delete PPEPath() + "ONELINER.$$$"
If (INTEGER006 > INTEGER005) Then
For INTEGER006 = 2 To INTEGER005
If (TSTRING013(INTEGER006) == "") Goto LABEL003
FPutLn 3, TSTRING013(INTEGER006)
Next
Endif
If (INTEGER006 <= INTEGER005) Then
For INTEGER006 = 1 To INTEGER005
If (TSTRING013(INTEGER006) == "") Break
FPutLn 3, TSTRING013(INTEGER006)
Next
Endif
:LABEL003
FPutLn 3, STRING006 + "| " + STRING007 + STRING002 + "@POS:79@" + STRING006 + "|"
FClose 3
Log "ONELINER: " + StripAtx(STRING002), 0
End
Endif
FreshLine
PrintLn STRING011
STRING001 = "GO AHEAD YOU LAME FUCKING BITCH! TRY TO DECOMPILE THIS THING!"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 4 End
; 2 Color
; 28 Goto
; 21 Let
; 4 Print
; 2 PrintLn
; 25 If
; 4 DispFile
; 1 FCreate
; 3 FOpen
; 4 FClose
; 8 FGet
; 4 FPutLn
; 1 StartDisp
; 1 Delete
; 1 Log
; 1 InputStr
; 1 Inc
; 2 Dec
; 5 FreshLine
; 1 Rename
;
;
; ■ Functions used :
;
; 39 +
; 3 -
; 14 ==
; 2 <>
; 6 <
; 6 <=
; 2 >
; 11 >=
; 18 !
; 13 &&
; 9 ||
; 7 Len(
; 3 Lower()
; 2 Left()
; 4 Right()
; 6 Chr()
; 4 InStr()
; 5 StripAtx()
; 1 Inkey()
; 16 PPEPath()
; 5 Exist()
; 1 CurColor()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;
;------------------------------------------------------------------------------
;
; One or more PPLC bugs were found, this is not a PPLX error, but PPLX is
; reporting the error ;) Some statements like VAR = !!!!10, VAR = !0*!0
; or similar things are not handled correctly by PPLC, some may use this
; to avoid a correct decompilation... This doesn't mean that there is
; actually an error, but the probability of error is high...
; ■ Search for : PPLC BUG
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 5 For/Next
; 1 While/EndWhile
; 9 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------