Skip to content

Commit

Permalink
Added MSFvenom command generator
Browse files Browse the repository at this point in the history
  • Loading branch information
drakylar committed Jan 4, 2022
1 parent 24e300d commit 6814707
Show file tree
Hide file tree
Showing 4 changed files with 780 additions and 87 deletions.
11 changes: 11 additions & 0 deletions routes/ui/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -5327,3 +5327,14 @@ def nmap_helper_page(project_id, current_project, current_user):
return render_template('project/tools/helpers/nmap-helper.html',
current_project=current_project,
tab_name='Nmap Helper')


@routes.route('/project/<uuid:project_id>/tools/msfvenom-helper/', methods=['GET'])
@requires_authorization
@check_session
@check_project_access
@send_log_data
def msfvenom_helper_page(project_id, current_project, current_user):
return render_template('project/tools/helpers/msfvenom-helper.html',
current_project=current_project,
tab_name='MSFvenom Helper')
677 changes: 677 additions & 0 deletions templates/project/tools/helpers/msfvenom-helper.html

Large diffs are not rendered by default.

174 changes: 87 additions & 87 deletions templates/project/tools/helpers/nmap-helper.html
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ <h4 class="ui header">Hosts</h4>
<div class="menu transition visible" style="width: 90%; position: static">
<div class="ui icon search input">
<i class="search icon"></i>
<input class="nmap_param" type="text" name="Search" placeholder="Search&hellip;" id="input_search_host_import">
<input type="text" name="Search" placeholder="Search&hellip;" id="input_search_host_import">
</div>
<div class="scrolling menu" style="height:270px;" id="hosts-include-list">
</div>
Expand All @@ -832,7 +832,7 @@ <h4 class="ui header">Networks</h4>
<div class="menu transition visible" style="width: 90%; position: static">
<div class="ui icon search input">
<i class="search icon"></i>
<input class="nmap_param" type="text" name="Search" placeholder="Search&hellip;" id="input_search_network_import">
<input type="text" name="Search" placeholder="Search&hellip;" id="input_search_network_import">
</div>
<div class="scrolling menu" style="height:270px;" id="networks-include-list">
</div>
Expand Down Expand Up @@ -879,7 +879,7 @@ <h4 class="ui header">Hosts</h4>
<div class="menu transition visible" style="width: 90%; position: static">
<div class="ui icon search input">
<i class="search icon"></i>
<input class="nmap_param" type="text" name="Search" placeholder="Search&hellip;" id="input_search_host_exclude">
<input type="text" name="Search" placeholder="Search&hellip;" id="input_search_host_exclude">
</div>
<div class="scrolling menu" style="height:270px;" id="hosts-export-list">
</div>
Expand All @@ -894,7 +894,7 @@ <h4 class="ui header">Networks</h4>
<div class="menu transition visible" style="width: 90%; position: static">
<div class="ui icon search input">
<i class="search icon"></i>
<input class="nmap_param" type="text" name="Search" placeholder="Search&hellip;" id="input_search_network_exclude">
<input type="text" name="Search" placeholder="Search&hellip;" id="input_search_network_exclude">
</div>
<div class="scrolling menu" style="height:270px;" id="networks-exclude-list">
</div>
Expand Down Expand Up @@ -937,108 +937,108 @@ <h4 class="ui header">Simple discovery</h4>
<option value="-sP" selected>-sP - Ping scan (default)</option>
<option value="-Pn">-Pn - Disable host discovery</option>
</select>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="disable_port_scan">
<label>-sn - Disable port scan</label>
</div>
<br/>
</div>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="disable_port_scan">
<label>-sn - Disable port scan</label>
</div>
<br/>

<h4 class="ui header">ICMP discovery</h4>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pe_scan">
<label>-PE - ICMP echo discovery</label>
</div>
<br/>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pp_scan">
<label>-PP - ICMP timestamp discovery</label>
</div>
<br/>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pm_scan">
<label>-PM - ICMP netmask discovery</label>
</div>
<h4 class="ui header">ICMP discovery</h4>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pe_scan">
<label>-PE - ICMP echo discovery</label>
</div>
<br/>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pp_scan">
<label>-PP - ICMP timestamp discovery</label>
</div>
<br/>
<div class="ui checkbox" style="margin-top: 15px">
<input class="nmap_param" type="checkbox" id="pm_scan">
<label>-PM - ICMP netmask discovery</label>
</div>

<h4 class="ui header">ARP discovery</h4>
<select class="ui fluid search dropdown nmap_param" id="arp">
<option value=""></option>
<option value=" " selected>Default</option>
<option value="-PR">-PR - Use ARP discovery</option>
<option value="--send-ip">--send-ip - Disable ARP discovery</option>
</select>
<h4 class="ui header">ARP discovery</h4>
<select class="ui fluid search dropdown nmap_param" id="arp">
<option value=""></option>
<option value=" " selected>Default</option>
<option value="-PR">-PR - Use ARP discovery</option>
<option value="--send-ip">--send-ip - Disable ARP discovery</option>
</select>

<h5 class="ui header">TCP SYN discovery (-PS)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="ps_scan">
<label>Use TCP SYN discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PS_ports" placeholder="22,80">
<h5 class="ui header">TCP SYN discovery (-PS)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="ps_scan">
<label>Use TCP SYN discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PS_ports" placeholder="22,80">
</div>
</div>


<h5 class="ui header">TCP ACK discovery (-PA)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="pa_scan">
<label>Use TCP ACK discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PA_ports" placeholder="22,80">
<h5 class="ui header">TCP ACK discovery (-PA)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="pa_scan">
<label>Use TCP ACK discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PA_ports" placeholder="22,80">
</div>
</div>

<h5 class="ui header">UDP discovery (-PU)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="pu_scan">
<label>Use UDP discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PU_ports" placeholder="53,162">
<h5 class="ui header">UDP discovery (-PU)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="pu_scan">
<label>Use UDP discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PU_ports" placeholder="53,162">
</div>
</div>

<h5 class="ui header">SCTP discovery (-PY)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="py_scan">
<label>Use SCTP discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PY_ports" placeholder="22,80">
<h5 class="ui header">SCTP discovery (-PY)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="py_scan">
<label>Use SCTP discovery</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Ports:
</div>
<input class="nmap_param" type="text" id="PY_ports" placeholder="22,80">
</div>
</div>

<h5 class="ui header">IP Protocol ping(-PO)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="po_scan">
<label>Use IP Protocol ping</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Protocols:
</div>
<input class="nmap_param" type="text" id="PO_protocols" placeholder="22,80">
<h5 class="ui header">IP Protocol ping(-PO)</h5>
<div class="ui checkbox">
<input class="nmap_param" type="checkbox" id="po_scan">
<label>Use IP Protocol ping</label>
</div>
<div class="ui field" style="margin-top: 15px">
<div class="ui labeled input" style="width: 100%">
<div class="ui label" style="width: 160px;">
<i class="hashtag icon"></i>Protocols:
</div>
<input class="nmap_param" type="text" id="PO_protocols" placeholder="22,80">
</div>

</div>

</div>
<div class="ui column">
<h4 class="ui header">Additional options</h4>
Expand Down
5 changes: 5 additions & 0 deletions templates/project/tools/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@ <h1 class="ui dividing header">Tools</h1>
<td><h4>Generate NMAP command.</h4></td>
<td><a class="ui button blue" href="nmap-helper/" style="width:100px;"><i class="share icon"></i>Open</a></td>
</tr>
<tr>
<td><h4>MSFvenom command generator</h4></td>
<td><h4>Generate MSFvenom command.</h4></td>
<td><a class="ui button blue" href="msfvenom-helper/" style="width:100px;"><i class="share icon"></i>Open</a></td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 6814707

Please sign in to comment.