home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SSI!SPW4.ZIP
/
LOGINPW4.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-10-16
|
4KB
|
265 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
;------------------------------------------------------------------------------
Date DATE001
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
String STRING001
String STRING002
String STRING003
String STRING004
String TSTRING005(4)
String STRING006
Time TIME001
;------------------------------------------------------------------------------
If (Exist(PPEPath() + "LOGINPW4.CFG")) Then
FOpen 1, PPEPath() + "LOGINPW4.CFG", 0, 0
Else
SPrintLn "CONFiG FiLE NOT FOUND iN PPE PATH !!!"
Delay 40
Hangup
Endif
FGet 1, STRING001
FGet 1, TSTRING005(1)
FGet 1, TSTRING005(2)
FGet 1, TSTRING005(3)
TSTRING005(4) = TSTRING005(3) / 2
TIME001 = Time()
DATE001 = Date()
INTEGER001 = PcbNode()
INTEGER002 = Carrier()
INTEGER003 = 1
If (TSTRING005(1) == "INTERMAIL") Then
Gosub LABEL006
Endif
If (TSTRING005(1) == "FRONTDOOR") Then
Gosub LABEL007
Endif
Gosub LABEL008
:LABEL001
STRING002 = Inkey()
If (Time() == TIME001 + TSTRING005(4)) Then
Goto LABEL002
Endif
If (STRING002 == Chr(27)) Then
Gosub LABEL009
Else
Goto LABEL001
Endif
Goto LABEL003
:LABEL002
Gosub LABEL009
:LABEL003
STRING003 = Inkey()
If (Time() == TIME001 + TSTRING005(4)) Then
Goto LABEL010
Endif
If (STRING001 == STRING004) Then
Goto LABEL011
Endif
If (STRING003 == Chr(27)) Then
Goto LABEL010
Endif
If (STRING003 == Chr(13)) Then
Gosub LABEL005
Endif
If (STRING003 <> "") Then
Gosub LABEL004
Endif
Goto LABEL003
:LABEL004
If (STRING003 == Chr(8)) Then
STRING003 = "<BKS>"
Endif
STRING004 = STRING004 + Upper(STRING003)
Return
:LABEL005
If (INTEGER003 == 3) Then
Goto LABEL010
Else
INTEGER003 = INTEGER003 + 1
STRING003 = ""
STRING004 = ""
Endif
Return
:LABEL006
Cls
MPrintLn "InterMail 2.29"
MPrint "Press Escape twice for MAIL SYSTEM #1"
Return
:LABEL007
Cls
MPrintLn ""
MPrintLn "FrontDoor 2.12.SW; Shareware; Unregistered evaluation copy"
MPrintLn ""
MPrint "Press <Esc> twice for BBS"
Return
:LABEL008
If (TSTRING005(2) == "NO") Then
Return
Endif
SPrintLn "┌─────────────────────────────────────────────────────────────────────────────┐"
SPrintLn "│ SYSTEM PASSWORD v4.0 DONE BY FoX OF :#* K R Y N *#: iN 1995. │"
SPrintLn "└─────────────────────────────────────────────────────────────────────────────┘"
SPrintLn "┌─────────────────────────────────────────────────────────────────────────────┐"
SPrintLn "│ Waiting for 1st ESC or timeout. │"
SPrintLn "└─────────────────────────────────────────────────────────────────────────────┘"
Return
:LABEL009
If (TSTRING005(2) == "NO") Then
Return
Endif
SPrintLn "┌─────────────────────────────────────────────────────────────────────────────┐"
SPrintLn "│ Waiting for 2nd ESC, password or timeout. │"
SPrintLn "└─────────────────────────────────────────────────────────────────────────────┘"
Return
:LABEL010
If (TSTRING005(2) == "NO") Then
Goto LABEL012
Endif
SPrintLn "┌─────────────────────────────────────────────────────────────────────────────┐"
SPrintLn "│ Time was running out or 2nd ESC was pressed. Hanging up & writing log file. │"
SPrintLn "└─────────────────────────────────────────────────────────────────────────────┘"
Goto LABEL012
:LABEL011
If (TSTRING005(2) == "NO") Then
End
Endif
SPrintLn "┌─────────────────────────────────────────────────────────────────────────────┐"
SPrintLn "│ User entered correct password. Well done. │"
SPrintLn "└─────────────────────────────────────────────────────────────────────────────┘"
Delay 10
End
:LABEL012
If (STRING004 == "") Then
STRING004 = "<WiTHOUT ANY iNPUT>"
Endif
If (CDOn() == 0) Then
STRING006 = "LOCAL"
Else
STRING006 = INTEGER002
Endif
If (Exist(PPEPath() + "ERROR.LOG")) Then
FAppend 2, PPEPath() + "ERROR.LOG", 1, 2
Else
FCreate 2, PPEPath() + "ERROR.LOG", 1, 2
Endif
FPutLn 2, "FAILED TO LOGON AT [", DATE001, "][", TIME001, "] NODE [", INTEGER001, "] WiTH [", STRING006, "] BPS"
FPutLn 2, "USER INPUT : " + STRING004
FClose 2
If (TSTRING005(1) == "INTERMAIL") Then
Goto LABEL013
Endif
If (TSTRING005(1) == "FRONTDOOR") Then
Goto LABEL014
Endif
:LABEL013
Delay 20
MPrintLn ""
MPrintLn ""
MPrintLn ""
MPrintLn "Sorry we are in a MAIL PROCESSING ONLY phase !"
MPrintLn "Please HANGUP and call back later."
MPrintLn "Thank you for your call."
Goto LABEL015
:LABEL014
Delay 20
MPrintLn ""
MPrintLn ""
MPrintLn ""
MPrintLn "Processing mail only in the moment! Please try it again later!"
MPrintLn ""
MPrintLn " Thank you for calling !"
:LABEL015
Hangup
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 2 Cls
; 39 Goto
; 16 Let
; 21 If
; 1 FCreate
; 1 FOpen
; 1 FAppend
; 1 FClose
; 4 FGet
; 2 FPutLn
; 2 Hangup
; 7 Gosub
; 8 Return
; 4 Delay
; 16 SPrintLn
; 2 MPrint
; 16 MPrintLn
;
;
; ■ Functions used :
;
; 1 /
; 10 +
; 18 ==
; 1 <>
; 21 !
; 1 Upper()
; 4 Chr()
; 1 Date()
; 3 Time()
; 2 Inkey()
; 5 PPEPath()
; 1 PcbNode()
; 2 Exist()
; 1 Carrier()
; 1 CDOn()
;
;------------------------------------------------------------------------------
;
; Analysis flags : BM
;
; 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
;
; M - Send text to modem only ■ 4
; Some informations are sent only to the modem, not to the local
; screen, this is a well known way to make stealth backdoors, Check!
; ■ Search for : SENDMODEM, MPRINT, MPRINTLN
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 21 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------