home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PWAULTP3.ZIP / PWAPRGMS.A02 / PWA95 / PWANK082.ZIP / NUKE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-04-09  |  2KB  |  147 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.     Boolean  BOOLEAN002
  21.     String   STRING001
  22.  
  23. ;------------------------------------------------------------------------------
  24.  
  25.     :LABEL001
  26.     Call PPEPath() + "main.ppe"
  27.     If (Exist(PPEPath() + "work\cmd" + String(PcbNode()))) Then
  28.         STRING001 = ReadLine(PPEPath() + "work\cmd" + String(PcbNode()), 1)
  29.         Dir STRING001
  30.         Tokenize "RESTORE"
  31.         FCreate 1, PPEPath() + "work\rest" + String(PcbNode()), 1, 0
  32.         FPutLn 1, ReadLine(PPEPath() + "work\cmd" + String(PcbNode()), 2)
  33.         FClose 1
  34.         FClose -1
  35.         Delete STRING001
  36.         Goto LABEL001
  37.     Endif
  38.     If (Upper(ReadLine(PPEPath() + "nuke.cfg", 11)) <> "YES") Then
  39.         BOOLEAN002 = 0
  40.         Goto LABEL003
  41.     Else
  42.         BOOLEAN002 = 1
  43.     Endif
  44.     DefColor
  45.     Cls
  46.     If (Exist(PPEPath() + "nukelst")) Then
  47.         STRING001 = PPEPath() + "text"
  48.         Print ReadLine(STRING001, 114)
  49.         FreshLine
  50.         If (OnLocal()) SaveScrn
  51.         Shell 0, BOOLEAN001, PPEPath() + "top.exe", PPEPath() + " " + "NOCARE" + " " + "1" + " " + "1"
  52.         If (OnLocal()) RestScrn
  53.         If (BOOLEAN001 == 2) Then
  54.             Goto LABEL002
  55.         Endif
  56.         If (BOOLEAN001) Then
  57.             PrintLn ReadLine(STRING001, 115)
  58.             Wait
  59.             FClose -1
  60.             Delete PPEPath() + "running"
  61.             End
  62.         Endif
  63.         :LABEL002
  64.         FClose -1
  65.         Delete PPEPath() + "nukelst"
  66.     Endif
  67.     :LABEL003
  68.     FClose -1
  69.     Delete PPEPath() + "running"
  70.     If (BOOLEAN002) Then
  71.         DispFile PPEPath() + "topblt", 0
  72.         Wait
  73.     Endif
  74.     End
  75.  
  76. ;------------------------------------------------------------------------------
  77. ;
  78. ; Usage report (before postprocessing)
  79. ;
  80. ; ■ Statements used :
  81. ;
  82. ;    2       End
  83. ;    1       Cls
  84. ;    2       Wait
  85. ;    10      Goto 
  86. ;    4       Let 
  87. ;    1       Print 
  88. ;    1       PrintLn 
  89. ;    8       If 
  90. ;    1       DispFile 
  91. ;    1       FCreate 
  92. ;    5       FClose 
  93. ;    1       FPutLn 
  94. ;    1       DefColor
  95. ;    4       Delete 
  96. ;    1       Tokenize 
  97. ;    1       Shell 
  98. ;    1       Call 
  99. ;    1       Dir 
  100. ;    1       FreshLine
  101. ;    1       SaveScrn
  102. ;    1       RestScrn
  103. ;
  104. ;
  105. ; ■ Functions used :
  106. ;
  107. ;    4       -
  108. ;    23      +
  109. ;    1       ==
  110. ;    1       <>
  111. ;    6       !
  112. ;    1       Upper()
  113. ;    4       String()
  114. ;    14      PPEPath()
  115. ;    4       PcbNode()
  116. ;    5       ReadLine()
  117. ;    2       OnLocal()
  118. ;    2       Exist()
  119. ;
  120. ;------------------------------------------------------------------------------
  121. ;
  122. ; Analysis flags : SC
  123. ;
  124. ; S - Shell to DOS ■ 5
  125. ;     This may be normal if the PPE need to execute an external command,
  126. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  127. ;     or usefull (sorting, maintenance,...). Check!
  128. ;     ■ Search for : SHELL
  129. ;
  130. ; C - Call child PPE ■ 3
  131. ;     This is usually normal, but may be a tricky way to launch some
  132. ;     sysop-only commands.
  133. ;     ■ Search for : CALL
  134. ;
  135. ;------------------------------------------------------------------------------
  136. ;
  137. ; Postprocessing report
  138. ;
  139. ;    0       For/Next
  140. ;    0       While/EndWhile
  141. ;    6       If/Then or If/Then/Else
  142. ;    0       Select Case
  143. ;
  144. ;------------------------------------------------------------------------------
  145. ;                 AEGiS Corp - Break the routines, code against the machines!
  146. ;------------------------------------------------------------------------------
  147.