home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PWAEF21.ZIP / EXTERNAL.ZIP / SCUMNUKE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-12-03  |  1KB  |  125 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.     Boolean  BOOLEAN001
  20.     String   STRING001
  21.     String   STRING002
  22.  
  23. ;------------------------------------------------------------------------------
  24.  
  25.     If (TokCount() < 1) Then
  26.         PrintLn "@X0CError: No filename passed to SCUMNUKE.  Aborting.@X07"
  27.         Delay 25
  28.         Newline
  29.         End
  30.     Else
  31.         STRING001 = GetToken()
  32.     Endif
  33.     BOOLEAN001 = 0
  34.     If (Exist(PPEPath() + "USERS.CFG")) Then
  35.         GetUser
  36.         FOpen 5, PPEPath() + "USERS.CFG", 0, 2
  37.         FGet 5, STRING002
  38.         :LABEL001
  39.         If (Ferr(5)) Goto LABEL002
  40.         If (Upper(STRING002) == Upper(U_Name())) Then
  41.             BOOLEAN001 = 1
  42.             Goto LABEL002
  43.         Endif
  44.         FGet 5, STRING002
  45.         Goto LABEL001
  46.         :LABEL002
  47.         FClose 5
  48.     Endif
  49.     If (BOOLEAN001 == 0) Then
  50.         PrintLn "@X0CSorry, you are not allowed to nuke files.@X07"
  51.         Delay 25
  52.         Newline
  53.         End
  54.     Endif
  55.     GetUser
  56.     If (ReadLine(ReadLine(PPEPath() + "FLAG.CFG", PcbNode()) + "FNUKE." + String(PcbNode()), 1) <> U_Name()) Then
  57.         If (Exist(ReadLine(PPEPath() + "FLAG.CFG", PcbNode())) + "FNUKE." + String(PcbNode())) Delete ReadLine(PPEPath() + "FLAG.CFG", 1) + "FNUKE." + String(PcbNode())
  58.         FAppend 6, ReadLine(PPEPath() + "FLAG.CFG", PcbNode()) + "FNUKE." + String(PcbNode()), 2, 0
  59.         FPutLn 6, U_Name()
  60.         FClose 6
  61.     Endif
  62.     FAppend 6, ReadLine(PPEPath() + "FLAG.CFG", PcbNode()) + "FNUKE." + String(PcbNode()), 2, 0
  63.     FPutLn 6, STRING001
  64.     FClose 6
  65.     PrintLn "@X0CFile flagged for nuking!  Don't forget to run NUKER!@X07"
  66.     Delay 25
  67.     Newline
  68.  
  69. ;------------------------------------------------------------------------------
  70. ;
  71. ; Usage report (before postprocessing)
  72. ;
  73. ; ■ Statements used :
  74. ;
  75. ;    2       End
  76. ;    9       Goto 
  77. ;    3       Let 
  78. ;    3       PrintLn 
  79. ;    7       If 
  80. ;    1       FOpen 
  81. ;    2       FAppend 
  82. ;    3       FClose 
  83. ;    2       FGet 
  84. ;    2       FPutLn 
  85. ;    2       GetUser
  86. ;    1       Delete 
  87. ;    3       Delay 
  88. ;    3       Newline
  89. ;
  90. ;
  91. ; ■ Functions used :
  92. ;
  93. ;    17      +
  94. ;    2       ==
  95. ;    1       <>
  96. ;    1       <
  97. ;    6       !
  98. ;    2       Upper()
  99. ;    1       Ferr()
  100. ;    3       U_Name()
  101. ;    5       String()
  102. ;    7       PPEPath()
  103. ;    9       PcbNode()
  104. ;    6       ReadLine()
  105. ;    1       GetToken()
  106. ;    2       Exist()
  107. ;    1       TokCount()
  108. ;
  109. ;------------------------------------------------------------------------------
  110. ;
  111. ; Analysis flags : No flag
  112. ;
  113. ;------------------------------------------------------------------------------
  114. ;
  115. ; Postprocessing report
  116. ;
  117. ;    0       For/Next
  118. ;    0       While/EndWhile
  119. ;    5       If/Then or If/Then/Else
  120. ;    0       Select Case
  121. ;
  122. ;------------------------------------------------------------------------------
  123. ;                 AEGiS Corp - Break the routines, code against the machines!
  124. ;------------------------------------------------------------------------------
  125.