🤬
..
Images Loading last commit info...
PS-Custom-Draw.ps1
PS-Draw.ps1
PS-Draw.txt
README.md
README.md

Logo

Table of Contents
  1. Description
  2. Getting Started
  3. Contributing
  4. Version History
  5. Contact
  6. Acknowledgments

PS-Draw

A script used to generate and draw images in the PowerShell window, used to leave a signature or perhaps taunt victims.

Description

These two programs use two different methods to draw out images in the PowerShell window.

PS-Draw will convert an image you download into a BMP file, estimate the colors used based off the 16 available powershell colors, then draw your image out in the PowerShell window. This process is not exact and needs testing of multiple images to find one that works well.

PS-Custom-Draw generates images to be drawn in the PowerShell window based off pre-configured arrays I put together already included in the file itself. These images look significantly cleaner due to the fact they were drawn and coded specifically for this purpose.

After the images are generated, a greeting will be generated by grabbing either the name associated with the registered Microsoft account or the UserName environment variable. The script will then be paused until a mouse movement is detected at which time the pre-selected image will be drawn out in the PowerShell window.

Getting Started

Dependencies

  • DropBox or another image hosting service - Your Shared link for the intended file
  • Windows 10,11

(back to top)

Executing program

  • Plug in your Device
  • Invoke-WebRequest will be used to download the image
powershell -w h -NoP -NonI -Exec Bypass $pl = iwr https:// < Your Shared link for the intended file> ?dl=1
  • The image will be converted into a BMP file
  • An algorithm will be used to find the closest matching colors available in the powershell window
  • The image will be generated in the powershell window

This is an example of an image I used with the PS-Draw command

alt text

This is how the iamge is interpreted and drawn out
alt text

  • The PS-Custom-Draw operates a little differently

  • One of the preconfigured arrays is piped into the command to generate an image

  • "$col | PS-Draw" - This first one will show the available colors to be used as seen below

alt text

  • "$omg | PS-Draw" - This will draw out the OMG logo as seen below

alt text

  • "$hak5 | PS-Draw" - This will draw out the Hak5 logo as seen below

alt text

(back to top)

Contributing

All contributors names will be listed here

I am Jakoby

(back to top)

Version History

  • 0.1
    • Initial Release

(back to top)

Contact

📱 My Socials 📱

C#
YouTube
Python
Twitter
Golang
Instagram
Jsonnet
Discord
Jsonnet
TikTok

(back to top)

Acknowledgments

(back to top)

Please wait...
Page is in error, reload to recover