home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
DCLAIM10.ZIP
/
DCLAIM.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-13
|
2KB
|
144 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 INTEGER002
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
;------------------------------------------------------------------------------
STRING001 = PPEPath() + "DCLAIM.CNF"
If (Exist(STRING001)) Goto LABEL001
Log "*** NO CONFIG FILE FOUND FOR DCLAIM.PPE ***", 0
Goto LABEL005
Goto LABEL002
:LABEL001
FOpen 1, STRING001, 0, 0
FGet 1, STRING006
FGet 1, STRING002
FGet 1, STRING007
FGet 1, STRING005
FClose 1
:LABEL002
INTEGER002 = STRING006
STRING003 = PPEPath() + STRING002
:LABEL003
STRING004 = ""
Cls
DispFile STRING003, 4 + 1
InputStr STRING005, STRING004, 15, 3, "YESyesNOno", 128
If (Upper(STRING004) == "YES") Then
Log U_Name() + " entered <YES> to DCLAIM.PPE", 0
Else
If (Upper(STRING004) == "NO ") Goto LABEL004
If (Upper(STRING004) == "NO") Goto LABEL004
If (Upper(STRING004) == "") Hangup
Goto LABEL003
:LABEL004
GetUser
If (STRING006 <> "00000") Then
U_Sec = INTEGER002
PutUser
Log U_Name() + " entered <NO> to DCLAIM.PPE", 0
Log "Security level adjusted", 0
Cls
DispFile PPEPath() + STRING007, 4 + 1
Wait
Hangup
End
Else
Log U_Name() + " entered <NO> to DCLAIM.PPE", 0
Cls
DispFile PPEPath() + STRING007, 4 + 1
Wait
Hangup
End
Endif
Endif
:LABEL005
PrintLn " "
PrintLn "@X01DCLAIM.PPE v1.0 coded by @X08<<@X0FCode 3@X08>>"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 3 Cls
; 2 Wait
; 10 Goto
; 5 Let
; 2 PrintLn
; 6 If
; 3 DispFile
; 1 FOpen
; 1 FClose
; 4 FGet
; 3 Hangup
; 1 GetUser
; 1 PutUser
; 5 Log
; 1 InputStr
;
;
; ■ Functions used :
;
; 10 +
; 4 ==
; 1 <>
; 3 !
; 4 Upper()
; 3 U_Name()
; 4 PPEPath()
; 1 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WB
;
; 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
;
; 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
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------