Fake Petya ransomware

Discussion in 'Scripting' started by Dark Dinosaur, May 14, 2022.

  1. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    2,168
    2,601
    90
    #1 Dark Dinosaur, May 14, 2022
    Last edited: May 14, 2022
    another Fake Petya ransomware
    this pirate symbol it impressive :D
    so I made an ascii with changing random colors

    [​IMG]

    Code:
    @cls
    @echo off
    >nul chcp 437
    title Just a PrAnK LoL
    mode con cols=60 lines=30
    setLocal EnableExtensions EnableDelayedExpansion
    
    :SKULL
    if     defined RAND set /a RAND_X=(%RANDOM%*9/32768)+1
    if not defined RAND set /a RAND=(%RANDOM%*9/32768)+1
    if !RAND_X! EQU !RAND! goto :SKULL
    if defined RAND_X set RAND=!RAND_X!
    cls & color !RAND!b
    
    echo:
    echo                        uu$:$:$:$:$:$uu
    echo                     uu$$$$$$$$$$$$$$$$$uu
    echo                    u$$$$$$$$$$$$$$$$$$$$$u
    echo                    u$$$$$$$$$$$$$$$$$$$$$$$u
    echo                  u$$$$$$$$$$$$$$$$$$$$$$$$$u
    echo                  u$$$$$$$$$$$$$$$$$$$$$$$$$u
    echo                  u$$$$$$*   *$$$*   *$$$$$$u
    echo                  *$$$$*      u$u       $$$$*
    echo                   $$$u       u$u       u$$$
    echo                   $$$u      u$$$u      u$$$
    echo                    *$$$$uu$$$   $$$uu$$$$*
    echo                     *$$$$$$$*   *$$$$$$$*
    echo                       u$$$$$$$u$$$$$$$u
    echo                        u$*$*$*$*$*$*$u
    echo             uuu        $$u$ $ $ $ $u$$       uuu
    echo            u$$$$        $$u$u$u$u$u$$       u$$$$
    echo             $$$$$uu      *$$$$$$$$$*     uu$$$$$$
    echo            u$$$$$$$$$$$     *****    uuuu$$$$$$$$$
    echo            $$$$***$$$$$$$$$$uuu   uu$$$$$$$$$***$$$*
    echo            ***      **$$$$$$$$$$$uu **$***
    echo                     uuuu **$$$$$$$$$$uuu
    echo            u$$$uuu$$$$$$$$$uu **$$$$$$$$$$$uuu$$$
    echo            $$$$$$$$$$****           **$$$$$$$$$$$*
    echo              *$$$$$*       WARNING      **$$$$**
    echo                $$$*   Just a PrAnK LoL   $$$$*
    echo:
    timeout 1 /NOBREAK>nul
    goto :SKULL
    
    And to make it More annoying
    Replace with this.
    Code:
    timeout 1 /NOBREAK>nul
    start "" "cmd" /c "%~f0"
    goto :SKULL
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...