home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
SCUM_FPS.ZIP
/
DOWNLOAD.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-02-27
|
4KB
|
254 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
Integer INTEGER007
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String TSTRING011(23)
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
String STRING019
String STRING020
String STRING021
String STRING022
;------------------------------------------------------------------------------
STRING012 = PPEPath() + "DOWNLOAD.PCB"
FOpen 2, STRING012, 0, 0
FGet 2, STRING013
FGet 2, STRING014
FGet 2, STRING015
FGet 2, STRING016
FGet 2, STRING017
FGet 2, STRING018
FGet 2, STRING019
FGet 2, STRING020
FGet 2, STRING021
FGet 2, STRING022
FClose 2
STRING008 = "1.0"
Newline
StartDisp 1
DispStr STRING013
Newline
DispStr STRING014
Newline
DispStr STRING015
Newline
DispStr STRING016
Newline
INTEGER007 = GetY()
For INTEGER006 = 1 To INTEGER007
TSTRING011(INTEGER006) = ScrText(1, INTEGER006, 250, 1)
Next
Shell 0, INTEGER001, "PCBFPS1.EXE", PPEPath()
Newline
SPrintLn Chr(27) + "[1;1f"
For INTEGER006 = 1 To INTEGER007
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X00", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X01", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X02", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X03", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X04", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X05", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X06", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X07", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X08", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X09", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0A", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0B", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0C", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0D", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0E", "
")
TSTRING011(INTEGER006) = ReplaceStr(TSTRING011(INTEGER006), "@X0F", "
")
TSTRING011(INTEGER006) = StripStr(TSTRING011(INTEGER006), "@X")
TSTRING011(INTEGER006) = Trim(TSTRING011(INTEGER006), " ")
Next
For INTEGER006 = 1 To INTEGER007
SPrint "" + String(INTEGER006) + ";1f"
SPrint TSTRING011(INTEGER006)
Next
FOpen 7, "PCBFPS.$$$", 0, 0
:LABEL001
If (Ferr(7)) Goto LABEL002
FGet 7, STRING002
FGet 7, STRING003
FGet 7, STRING004
FGet 7, STRING005
FGet 7, STRING006
If (STRING002 == "") Goto LABEL002
StartDisp 1
Newline
DispStr STRING017 + STRING002 + STRING018 + STRING003 + STRING019 + STRING004
Newline
DispStr STRING020 + STRING005 + STRING021 + STRING006
Newline
DispStr STRING022
GetUser
STRING010 = U_Notes(3)
Tokenize STRING010
If (TokCount() == 3) Then
STRING008 = GetToken()
STRING007 = GetToken()
STRING009 = GetToken()
Endif
INTEGER002 = STRING007
INTEGER003 = STRING003
INTEGER002 = INTEGER002 - INTEGER003
STRING007 = INTEGER002
U_Notes(3) = STRING008 + " " + STRING007 + " " + STRING009
PutUser
INTEGER004 = U_RecNum(STRING005)
If (INTEGER004 > -1) Then
GetAltUser INTEGER004
STRING010 = U_Notes(3)
Tokenize STRING010
If (TokCount() == 3) Then
STRING008 = GetToken()
STRING007 = GetToken()
STRING009 = GetToken()
Endif
INTEGER002 = STRING007
INTEGER003 = STRING006
INTEGER002 = INTEGER002 + INTEGER003
STRING007 = INTEGER002
INTEGER005 = STRING009
INTEGER005 = INTEGER005 + INTEGER003
STRING009 = INTEGER005
U_Notes(3) = STRING008 + " " + STRING007 + " " + STRING009
PutUser
Endif
Newline
Goto LABEL001
:LABEL002
StartDisp 1
Newline
Newline
DispStr " @X01 -[ @X0BPCB-FPS@X08 by @X01-=\@X0BT@X03he @X0BL@X03iquidater@X01/=-@X05 @X03TRSi/SCUM@X01 ]-"
Newline
Newline
Delete "PCBFPS.$$$"
Delete "DLINFO.FPS"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 12 Goto
; 50 Let
; 8 If
; 2 FOpen
; 1 FClose
; 15 FGet
; 3 StartDisp
; 1 GetUser
; 2 PutUser
; 2 Delete
; 14 Newline
; 2 Tokenize
; 1 Shell
; 8 DispStr
; 2 SPrint
; 1 SPrintLn
; 1 GetAltUser
;
;
; ■ Functions used :
;
; 1 -
; 25 +
; 1 -
; 3 ==
; 3 <
; 3 <=
; 1 >
; 6 >=
; 7 !
; 6 &&
; 3 ||
; 1 Ferr()
; 1 Chr()
; 1 Trim()
; 1 String()
; 2 PPEPath()
; 6 GetToken()
; 1 GetY()
; 2 TokCount()
; 1 U_RecNum()
; 1 ScrText()
; 16 ReplaceStr()
; 1 StripStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WRS
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; R - Read user ■ 5
; User records are read, this may signify that someone wants to get
; various informations about a user (for example his password), but
; this may also be normal for a program accessing user records (for
; example a User Editor)
; ■ Search for : GETALTUSER
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 3 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------