home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pcboard
/
depos102.zip
/
DEPOSIT.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-06-14
|
13KB
|
781 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 1.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Date DATE001
Date DATE002
Date DATE003
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
Integer INTEGER011
Integer INTEGER012
Integer INTEGER013
Integer INTEGER014
Integer INTEGER015
Integer INTEGER016
Integer INTEGER017
Integer INTEGER018
Integer INTEGER019
Integer INTEGER020
Integer INTEGER021
Integer INTEGER022
Integer INTEGER023
Integer INTEGER024
Integer INTEGER025
Integer INTEGER026
Integer INTEGER027
Integer INTEGER028
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 STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
String STRING019
String TSTRING020(7)
String STRING021
String STRING022
String STRING023
String STRING024
String STRING025
String STRING026
String STRING027
String STRING028
String STRING029
String STRING030
;------------------------------------------------------------------------------
CdChkOn
GetUser
Cls
INTEGER004 = U_PageLen
If (INTEGER004 <> 25) Then
U_PageLen = 25
PutUser
Endif
STRING019 = PPEPath()
STRING019 = STRING019 + "intro.txt"
INTEGER014 = 1
TSTRING020(INTEGER014) = STRING019
Gosub LABEL010
DispFile TSTRING020(INTEGER014), 0
AnsiPos 17, 22
PrintLn "@X0E(c)1993 THE TWILIGHT ZONE BBS (609) 921-0354@X07"
AnsiPos 5, 23
Print "@X0DThis software is Unregistered!@X0E Please ask@X8F YOUR SYSOP@X0E to Register it!@X07"
GetUser
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.CFG"
FOpen 1, STRING026, 0, 0
INTEGER014 = 1
TSTRING020(INTEGER014) = STRING026
Gosub LABEL010
FGet 1, STRING006
FGet 1, STRING007
FGet 1, INTEGER005
FGet 1, INTEGER006
FClose 1
STRING008 = GetEnv("PCB_PWRD")
If (STRING008 == "") Stop
If (Exist(STRING008) == 0) Stop
STRING001 = U_Sec
FOpen 1, STRING008, 0, 0
INTEGER013 = 0
While (INTEGER013 == 0) Do
FGet 1, STRING018
STRING025 = Mid(STRING018, 1, 5)
If (InStr(STRING025, STRING001) > 0) Then
INTEGER017 = 0
INTEGER018 = 0
While (INTEGER017 <= 2) Do
STRING021 = Mid(STRING018, INTEGER018, 1)
If (STRING021 == ",") Then
INTEGER017 = INTEGER017 + 1
Endif
INTEGER018 = INTEGER018 + 1
EndWhile
INTEGER019 = INTEGER018
INTEGER017 = 0
While (INTEGER017 < 1) Do
STRING021 = Mid(STRING018, INTEGER018, 1)
If (STRING021 == ",") Then
INTEGER017 = INTEGER017 + 1
Endif
INTEGER018 = INTEGER018 + 1
EndWhile
INTEGER020 = INTEGER018 - 1
INTEGER021 = INTEGER020 - INTEGER019
STRING002 = Mid(STRING018, INTEGER019, INTEGER021)
If (STRING002 == "32767") Then
STRING002 = "UNLIMITED"
Goto LABEL001
Endif
STRING002 = STRING002 * 1000
:LABEL001
INTEGER013 = 1
Endif
EndWhile
FClose 1
If (STRING002 == "UNLIMITED") Then
STRING003 = STRING002
Else
INTEGER022 = STRING002
INTEGER022 = INTEGER022 - U_BdlDay()
STRING003 = INTEGER022
Endif
INTEGER019 = 0
INTEGER020 = 0
INTEGER013 = 0
FOpen 1, STRING008, 0, 0
While (INTEGER013 == 0) Do
FGet 1, STRING018
STRING025 = Mid(STRING018, 1, 5)
If (InStr(STRING025, STRING001) > 0) Then
INTEGER017 = 0
INTEGER018 = 0
While (INTEGER017 <= 5) Do
STRING021 = Mid(STRING018, INTEGER018, 1)
If (STRING021 == ",") Then
INTEGER017 = INTEGER017 + 1
Endif
INTEGER018 = INTEGER018 + 1
EndWhile
INTEGER019 = INTEGER018
INTEGER017 = 0
While (INTEGER017 < 1) Do
STRING021 = Mid(STRING018, INTEGER018, 1)
If (STRING021 == ",") Then
INTEGER017 = INTEGER017 + 1
Endif
INTEGER018 = INTEGER018 + 1
EndWhile
INTEGER020 = INTEGER018 - 1
INTEGER021 = INTEGER020 - INTEGER019
STRING022 = Mid(STRING018, INTEGER019, INTEGER021)
INTEGER022 = Len(STRING022)
STRING023 = Mid(STRING022, INTEGER022, 1)
STRING024 = Mid(STRING022, 1, INTEGER022 - 1)
If (STRING023 == 0) Then
STRING005 = "NA"
Goto LABEL002
Endif
STRING005 = STRING023 + ":" + STRING024
:LABEL002
INTEGER013 = 1
Endif
EndWhile
FClose 1
INTEGER002 = U_Ful()
INTEGER003 = U_Fdl()
If (INTEGER002 > INTEGER003) Then
INTEGER024 = INTEGER002 / INTEGER003
STRING022 = INTEGER024
STRING004 = STRING022 + ":1"
Endif
If (INTEGER003 > INTEGER002) Then
INTEGER024 = INTEGER003 / INTEGER002
STRING022 = INTEGER024
STRING004 = "1:" + STRING022
Endif
If (INTEGER003 == INTEGER002) Then
STRING004 = "1:1"
Endif
INTEGER013 = 0
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.ndx"
FOpen 1, STRING026, 0, 0
While (INTEGER013 == 0) Do
If (INTEGER013 == 0) FGet 1, STRING018
If (STRING018 <> "") Then
INTEGER022 = InStr(STRING018, "/")
INTEGER023 = Len(STRING018)
STRING022 = Mid(STRING018, INTEGER022 + 1, INTEGER023 - INTEGER022)
INTEGER011 = STRING022
STRING022 = Mid(STRING018, 1, INTEGER022 - 1)
STRING014 = U_Name()
If (InStr(STRING022, STRING014) > 0) Then
INTEGER013 = 1
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.dat"
FOpen 2, STRING026, 0, 0
INTEGER025 = 0
INTEGER017 = 0
While (INTEGER025 == 0) Do
FGet 2, STRING018
If (STRING018 == "") INTEGER025 = 1
INTEGER017 = INTEGER017 + 1
If (INTEGER017 == INTEGER011) Then
INTEGER025 = 1
Endif
EndWhile
STRING014 = STRING018
FGet 2, STRING018
DATE001 = STRING018
FGet 2, STRING018
DATE002 = STRING018
FGet 2, STRING018
DATE003 = STRING018
FGet 2, STRING018
INTEGER007 = STRING018
FGet 2, STRING018
INTEGER008 = STRING018
FGet 2, STRING018
STRING015 = STRING018
FGet 2, STRING018
STRING016 = STRING018
FGet 2, STRING018
INTEGER009 = STRING018
FGet 2, STRING018
INTEGER010 = STRING018
FGet 2, STRING018
STRING012 = STRING018
FGet 2, STRING018
STRING013 = STRING018
INTEGER013 = 1
FClose 2
Endif
Continue
Endif
FClose 1
Gosub LABEL008
INTEGER013 = 1
EndWhile
If (DATE001 <> Date()) Then
STRING012 = "0"
STRING013 = "0"
Endif
INTEGER027 = STRING012
INTEGER028 = STRING013
Gosub LABEL009
:LABEL003
AnsiPos 24, 7
STRING022 = MinLeft()
Print "@X70" + STRING022 + "@X07"
AnsiPos 28, 23
InputStr "Enter your choice ", STRING027, 4, 1, "QDWEqdwe", 32
If (Upper(STRING027) == "Q") Goto LABEL004
If (Upper(STRING027) == "D") Then
Gosub LABEL005
Goto LABEL003
Endif
If (Upper(STRING027) == "W") Then
Gosub LABEL006
Goto LABEL003
Endif
If (Upper(STRING027) == "E") Then
Gosub LABEL007
Goto LABEL003
Endif
Goto LABEL003
:LABEL004
FClose 1
FClose 2
FClose 3
Gosub LABEL011
INTEGER022 = MinLeft()
If (INTEGER022 < 1) Bye
Cls
U_PageLen = INTEGER004
PutUser
End
:LABEL005
AnsiPos 15, 23
InputStr "Enter @X0E(B)@X03ytes, @X0E(T)@X03ime, or @X0E(Q)@X03uit back to menu ", STRING027, 3, 1, "BTQbtq", 32
If (Upper(STRING027) == "Q") Goto LABEL003
If (Upper(STRING027) == "B") Then
AnsiPos 15, 23
InputStr "Input Byte amount you wish to Deposit ", STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to deposit " + STRING027 + " Bytes ", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER022 = STRING002
If (STRING002 == "UNLIMITED") INTEGER022 = 999999999
INTEGER022 = INTEGER022 - U_BdlDay()
If (INTEGER022 < 1) Then
AnsiPos 5, 23
InputStr "Value entered is larger than Bytes remaining. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL005
Endif
DATE002 = Date()
INTEGER007 = STRING027
INTEGER027 = INTEGER027 - INTEGER007
STRING015 = "BYTE"
INTEGER010 = INTEGER010 + INTEGER007
STRING019 = PPEPath()
STRING019 = STRING019 + "USysUpd.Exe"
WrUSys
Shell 1, STRING028, STRING019, INTEGER007
RdUSys
Gosub LABEL009
Endif
Goto LABEL003
Endif
If (Upper(STRING027) == "T") Then
AnsiPos 5, 23
INTEGER022 = MinLeft()
STRING022 = INTEGER022
InputStr "You have " + STRING022 + " available. Input Time amount you wish to Deposit ", STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to deposit " + STRING027 + " Time ", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER026 = STRING027
INTEGER022 = MinLeft()
If (INTEGER026 > INTEGER022) Then
AnsiPos 5, 23
InputStr "Value entered is more than the time remaining. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL003
Endif
DATE002 = Date()
INTEGER007 = STRING027
STRING015 = "TIME"
INTEGER009 = INTEGER009 + INTEGER007
INTEGER026 = INTEGER026 * -1
AdjTime INTEGER026
INTEGER028 = INTEGER028 - INTEGER007
Cls
Gosub LABEL009
Endif
Goto LABEL003
Endif
Goto LABEL005
:LABEL006
AnsiPos 15, 23
InputStr "Enter @X0E(B)@X03ytes, @X0E(T)@X03ime, or @X0E(Q)@X03uit back to menu ", STRING027, 3, 1, "BTQbtq", 32
If (Upper(STRING027) == "Q") Goto LABEL003
If (Upper(STRING027) == "B") Then
AnsiPos 15, 23
InputStr "Input Byte amount you wish to Withdraw ", STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to withdraw " + STRING027 + " Bytes ", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER026 = STRING027
If (INTEGER026 > INTEGER010) Then
AnsiPos 5, 23
InputStr "Value entered is more than Bytes saved. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
If (INTEGER026 > STRING007) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Bytes allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
INTEGER022 = INTEGER027 + INTEGER026
If (INTEGER022 > STRING007) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Bytes allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
DATE003 = Date()
INTEGER008 = INTEGER026
STRING016 = "BYTE"
INTEGER010 = INTEGER010 - INTEGER008
INTEGER022 = INTEGER008 * -1
INTEGER027 = INTEGER027 + INTEGER008
STRING019 = PPEPath()
STRING019 = STRING019 + "USysUpd.Exe"
WrUSys
Shell 1, STRING028, STRING019, INTEGER022
RdUSys
Gosub LABEL009
Endif
Goto LABEL006
Endif
If (Upper(STRING027) == "T") Then
AnsiPos 5, 23
INTEGER022 = MinLeft()
STRING022 = INTEGER022
InputStr "Input Time amount you wish to Withdraw ", STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to withdraw " + STRING027 + " Bytes ", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER026 = STRING027
If (INTEGER009 < INTEGER026) Then
AnsiPos 5, 23
InputStr "Value entered is more than time saved. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
If (INTEGER026 > STRING006) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Time allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
INTEGER022 = INTEGER028 + INTEGER026
If (INTEGER022 > STRING006) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Time allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
DATE003 = Date()
INTEGER008 = STRING027
STRING016 = "TIME"
INTEGER009 = INTEGER009 - INTEGER008
AdjTime INTEGER008
INTEGER028 = INTEGER028 + INTEGER008
Cls
Gosub LABEL009
Endif
Goto LABEL006
Endif
Goto LABEL006
:LABEL007
AnsiPos 15, 23
InputStr "Enter @X0E(B)@X03ytes, @X0E(T)@X03ime, or @X0E(Q)@X03uit back to menu ", STRING027, 3, 1, "BTQbtq", 32
If (Upper(STRING027) == "Q") Goto LABEL003
If (Upper(STRING027) == "B") Then
AnsiPos 10, 23
STRING022 = INTEGER006
InputStr "Input Byte amount to Exchange, in increments of " + STRING022, STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to exchange " + STRING027 + " Bytes ", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER026 = STRING027
If (INTEGER026 > INTEGER010) Then
AnsiPos 5, 23
InputStr "Value entered is more than Bytes saved. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL007
Endif
If (INTEGER026 > STRING007) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Bytes allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
If (INTEGER026 < INTEGER006) Then
AnsiPos 1, 23
InputStr "Value entered is less than then minimum value of " + STRING022 + ". Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
DATE003 = Date()
INTEGER008 = INTEGER026
STRING016 = "BYTE"
INTEGER010 = INTEGER010 - INTEGER008
INTEGER022 = INTEGER026 / INTEGER006
INTEGER022 = INTEGER022 * INTEGER005
DATE002 = Date()
INTEGER007 = INTEGER022
STRING015 = "TIME"
INTEGER009 = INTEGER009 + INTEGER007
Gosub LABEL009
Endif
Goto LABEL007
Endif
If (Upper(STRING027) == "T") Then
AnsiPos 15, 23
STRING022 = INTEGER005
InputStr "Input Time amount you wish to Exchange, in increments of " + STRING022, STRING027, 4, 10, "9876543210", 32
AnsiPos 15, 23
InputStr "Are you sure you wish to exchange " + STRING027 + " Minutes", STRING029, 4, 1, "YyNn", 32
If (Upper(STRING029) == "Y") Then
INTEGER026 = STRING027
If (INTEGER026 > INTEGER009) Then
AnsiPos 5, 23
InputStr "Value entered is more than Time saved. Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL007
Endif
If (INTEGER026 > STRING006) Then
AnsiPos 1, 23
InputStr "Value entered is more than Maximum Time allowed . Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
If (INTEGER026 < INTEGER005) Then
AnsiPos 1, 23
InputStr "Value entered is less than then minimum value of " + STRING022 + ". Hit enter to continue.", STRING027, 9, 1, "", 32
Goto LABEL006
Endif
DATE003 = Date()
INTEGER008 = INTEGER026
STRING016 = "TIME"
INTEGER009 = INTEGER009 - INTEGER008
INTEGER022 = INTEGER026 / INTEGER005
INTEGER022 = INTEGER022 * INTEGER006
DATE002 = Date()
INTEGER007 = INTEGER022
STRING015 = "BYTE"
INTEGER010 = INTEGER010 + INTEGER007
Gosub LABEL009
Endif
Goto LABEL007
Endif
Goto LABEL007
:LABEL008
STRING017 = U_Name()
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.dat"
FOpen 2, STRING026, 0, 0
INTEGER025 = 0
While (INTEGER025 == 0) Do
FGet 2, STRING018
If (STRING018 == "") Then
INTEGER025 = 1
Continue
Endif
INTEGER017 = INTEGER017 + 1
EndWhile
FClose 2
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.ndx"
FAppend 1, STRING026, 2, 0
INTEGER011 = INTEGER017
STRING022 = INTEGER011
FPutLn 1, STRING017, "/", STRING022
FClose 1
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.dat"
FAppend 2, STRING026, 2, 0
STRING014 = U_Name()
DATE001 = "00-00-00"
DATE002 = "00-00-00"
DATE003 = "00-00-00"
INTEGER007 = 0
INTEGER008 = 0
STRING015 = "NA"
STRING016 = "NA"
INTEGER009 = 0
INTEGER010 = 0
INTEGER027 = 0
INTEGER028 = 0
FPutLn 2, STRING014
FPutLn 2, Date()
FPutLn 2, DATE002
FPutLn 2, DATE003
FPutLn 2, INTEGER007
FPutLn 2, INTEGER008
FPutLn 2, STRING015
FPutLn 2, STRING016
FPutLn 2, INTEGER009
FPutLn 2, INTEGER010
FPutLn 2, INTEGER027
FPutLn 2, INTEGER028
FClose 2
Return
:LABEL009
INTEGER012 = 0
Cls
STRING019 = PPEPath()
STRING019 = STRING019 + "UserMnu.txt"
INTEGER014 = 1
TSTRING020(INTEGER014) = STRING019
Gosub LABEL010
DispFile TSTRING020(INTEGER014), 0
INTEGER016 = GetX()
INTEGER015 = GetY()
AnsiPos 17, 6
Print "@X70" + U_Name() + "@X07"
AnsiPos 66, 6
Print "@X70" + STRING001 + "@X07"
AnsiPos 24, 7
STRING022 = MinLeft()
Print "@X70" + STRING022 + "@X07"
AnsiPos 70, 7
Print "@X70" + STRING002 + "@X07"
AnsiPos 26, 8
Print "@X70" + STRING005 + "@X07"
AnsiPos 70, 8
STRING022 = U_BdlDay()
Print "@X70" + STRING022 + "@X07"
AnsiPos 26, 9
Print "@X70" + STRING004 + "@X07"
AnsiPos 25, 14
STRING010 = DATE002
Print "@X70" + STRING010 + "@X07"
AnsiPos 56, 14
STRING022 = INTEGER007
Print "@X70" + STRING022 + "@X07"
AnsiPos 72, 14
Print "@X70" + STRING015 + "@X07"
AnsiPos 25, 15
STRING011 = DATE003
Print "@X70" + STRING011 + "@X07"
AnsiPos 56, 15
STRING022 = INTEGER008
Print "@X70" + STRING022 + "@X07"
AnsiPos 72, 15
Print "@X70" + STRING016 + "@X07"
AnsiPos 25, 16
STRING022 = INTEGER009
Print "@X70" + STRING022 + "@X07"
AnsiPos 59, 16
STRING022 = INTEGER010
Print "@X70" + STRING022 + "@X07"
AnsiPos 25, 17
STRING009 = DATE001
Print "@X70" + STRING009 + "@X07"
AnsiPos 28, 18
STRING022 = STRING006
Print "@X70" + STRING022 + "@X07"
AnsiPos 61, 18
STRING022 = STRING007
Print "@X70" + STRING022 + "@X07"
AnsiPos INTEGER016, INTEGER015
Return
:LABEL010
If (Exist(TSTRING020(INTEGER014))) Return
Wait
PrintLn Space(17) + "*********************************************"
PrintLn Space(17) + "* *"
PrintLn Space(17) + "* FILE ERROR *"
PrintLn Space(17) + "* *"
PrintLn Space(17) + "* Please tell Sysop that the following file *"
PrintLn Space(17) + "* did not exist or is not in correct path : *"
PrintLn Space(17) + "* " + TSTRING020(INTEGER014) + Space(20) + "*"
PrintLn Space(17) + "*********************************************"
PrintLn Space(1)
Wait
Goto LABEL004
:LABEL011
INTEGER013 = 1
STRING026 = PPEPath()
STRING026 = STRING026 + "DEPOSIT.tmp"
FCreate 2, STRING026, 2, 0
FPutLn 2, INTEGER011
FPutLn 2, STRING014
FPutLn 2, DATE001
FPutLn 2, DATE002
FPutLn 2, DATE003
FPutLn 2, INTEGER007
FPutLn 2, INTEGER008
FPutLn 2, STRING015
FPutLn 2, STRING016
FPutLn 2, INTEGER009
FPutLn 2, INTEGER010
FPutLn 2, INTEGER027
FPutLn 2, INTEGER028
FClose 2
STRING019 = PPEPath()
STRING030 = PPEPath()
STRING019 = STRING019 + "DataUPD.Exe"
Shell 1, STRING028, STRING019, STRING030
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 5 Cls
; 2 Wait
; 102 Goto
; 215 Let
; 20 Print
; 10 PrintLn
; 67 If
; 2 DispFile
; 1 FCreate
; 6 FOpen
; 2 FAppend
; 12 FClose
; 20 FGet
; 26 FPutLn
; 2 GetUser
; 2 PutUser
; 2 AdjTime
; 30 InputStr
; 15 Gosub
; 4 Return
; 1 CdChkOn
; 3 Shell
; 2 Stop
; 1 Bye
; 52 AnsiPos
; 2 WrUSys
; 2 RdUSys
;
;
; ■ Functions used :
;
; 2 -
; 5 *
; 4 /
; 104 +
; 15 -
; 39 ==
; 3 <>
; 7 <
; 2 <=
; 15 >
; 56 !
; 2 Len(
; 19 Upper()
; 12 Mid()
; 10 Space()
; 4 InStr()
; 10 Date()
; 4 U_Name()
; 1 U_Ful()
; 1 U_Fdl()
; 3 U_BdlDay()
; 13 PPEPath()
; 6 MinLeft()
; 1 GetEnv()
; 2 Exist()
; 1 GetX()
; 1 GetY()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WAS
;
; 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
;
; A - Adjust online time remaining ■ 5
; Program modify the amount of online time remaining, this may
; be a way to bypass time limits
; ■ Search for : ADJTIME
;
; 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
;
; 0 For/Next
; 9 While/EndWhile
; 47 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------