C++ - Restart your computer

  • 0 Replies
  • 77 Views

0 Members and 1 Guest are viewing this topic.

Offline Omega

    *
  • The Boss (Admin)
  • Black Hat Sec Member
  • Telegram: @BLACKHATSEC_FORUM
  • Posts: 190
  • Popularity: +1/-0
  • God of Malware
    • View Profile
    • Awards
« on: March 14, 2022, 10:09:05 AM »
C++ - Restart your computer
Simple program which restart your computer in 10 seconds.


Code

#include <iostream>
 
using namespace std;
 
int main ()
{
          system("shutdown -s -t 10");
          system("PAUSE");
 
          return 0;
}
  • Discord: BLACK HAT SEC#5222
  • [+]
  • [-]

  •