home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / TNH!DIAL.ZIP / TNH!DIAL.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-02-05  |  1KB  |  103 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     String   STRING004
  25.  
  26. ;------------------------------------------------------------------------------
  27.  
  28.     FOpen 1, PPEPath() + "DIAL.CFG", 0, 0
  29.     FGet 1, STRING001
  30.     INTEGER001 = 2
  31.     STRING002 = "1234567890.-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz _!./,'"
  32.     DispFile PPEPath() + "DIAL.PCB", 4 + 2 + 1
  33.     INTEGER002 = 0
  34.     FOpen 2, PPEPath() + "DIAL.PRM", 4 + 2 + 1, 0
  35.     FGet 2, STRING004
  36.     :LABEL001
  37.     InputStr STRING004, STRING003, 10, Len(STRING001) + 5, STRING002, 1
  38.     Log "SystemPassword '" + STRING003 + "' was used.", 0
  39.     Inc INTEGER002
  40.     If (Upper(STRING003) == STRING001) Goto LABEL003
  41.     If (INTEGER002 == INTEGER001 + 1) Goto LABEL002
  42.     PrintLn 
  43.     Goto LABEL001
  44.     :LABEL002
  45.     DispFile PPEPath() + "CLOSED.PCB", 4 + 2 + 1
  46.     Log "User failed SystemPassword verification.", 0
  47.     Hangup
  48.     :LABEL003
  49.     PrintLn 
  50.     DispFile PPEPath() + "LOGIN.PCB", 4 + 2 + 1
  51.     Log "SysPass Entry on Attempt #" + INTEGER002 + "*", 0
  52.     End
  53.  
  54. ;------------------------------------------------------------------------------
  55. ;
  56. ; Usage report (before postprocessing)
  57. ;
  58. ; ■ Statements used :
  59. ;
  60. ;    1       End
  61. ;    3       Goto 
  62. ;    3       Let 
  63. ;    2       PrintLn 
  64. ;    2       If 
  65. ;    3       DispFile 
  66. ;    2       FOpen 
  67. ;    2       FGet 
  68. ;    1       Hangup
  69. ;    3       Log 
  70. ;    1       InputStr 
  71. ;    1       Inc 
  72. ;
  73. ;
  74. ; ■ Functions used :
  75. ;
  76. ;    19      +
  77. ;    2       ==
  78. ;    1       Len(
  79. ;    1       Upper()
  80. ;    5       PPEPath()
  81. ;
  82. ;------------------------------------------------------------------------------
  83. ;
  84. ; Analysis flags : B
  85. ;
  86. ; B - Brute hangup ■ 1
  87. ;     Program hangup without notification. This may be a good way to
  88. ;     disconnect a user, but if used randomly, may be very nasty
  89. ;     ■ Search for : HANGUP, DTROFF
  90. ;
  91. ;------------------------------------------------------------------------------
  92. ;
  93. ; Postprocessing report
  94. ;
  95. ;    0       For/Next
  96. ;    0       While/EndWhile
  97. ;    0       If/Then or If/Then/Else
  98. ;    0       Select Case
  99. ;
  100. ;------------------------------------------------------------------------------
  101. ;                 AEGiS Corp - Break the routines, code against the machines!
  102. ;------------------------------------------------------------------------------
  103.