File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,10 @@ public static bool ExecuteHack(Hacknet.OS os, string[] args)
318
318
public static bool DeleteWhitelistDLL ( Hacknet . OS os , string [ ] args )
319
319
{
320
320
Computer computer = Programs . getComputer ( os , args [ 1 ] ) ;
321
- computer . deleteFile ( os . thisComputer . ip , "authenticator.dll" , ) ;
321
+ List < int > FolderPath = new List < int > ( ) ;
322
+ FolderPath . Add ( 5 ) ;
323
+ Folder folder = computer . files . root . searchForFolder ( "Whitelist" ) ;
324
+ folder . files . Remove ( folder . files [ 1 ] ) ;
322
325
return false ;
323
326
}
324
327
public static bool ChangeMusic ( Hacknet . OS os , string [ ] args )
@@ -620,11 +623,13 @@ public static bool AddRestoreCircle(Hacknet.OS os, string[] args)
620
623
SFX . addCircle ( computer . getScreenSpacePosition ( ) , Utils . AddativeWhite * 0.4f , 70f ) ;
621
624
return false ;
622
625
}
623
- /* public static bool WhitelistBypass(Hacknet.OS os, string[] args)
626
+ public static bool WhitelistBypass ( Hacknet . OS os , string [ ] args )
624
627
{
625
628
Computer computer = Programs . getComputer ( os , args [ 1 ] ) ;
626
-
629
+ Folder folder = computer . files . root . searchForFolder ( "Whitelist" ) ;
630
+ folder . files . Remove ( folder . files [ 2 ] ) ;
631
+ folder . files . Add ( new FileEntry ( os . thisComputer . ip , "list.txt" ) ) ;
627
632
return false ;
628
- } */
633
+ }
629
634
}
630
635
}
You can’t perform that action at this time.
0 commit comments