Brisket
Brisket is a collection of frontend scripts for masscan, zmap, and nmap, in addition data manipulation scripts
Install / Use
/learn @andrewsmhay/BrisketREADME
##Brisket
###About
The primary purpose of this application is to scan, store, and prepare Cloud Server Provider (CSP) guest/instance/host data for further statistical and trend analysis.
Description
See the position paper for a sneak peak into what this project was created for.
- <a href="https://github.com/andrewsmhay/research/blob/master/pp/propertyvalues.md">github.com/andrewsmhay/research/blob/master/pp/propertyvalues.md</a>
Scanner Placement
Scanners are hosted in several North American, European, and Asia/Pacific countries (blue). The main analysis server (a.k.a. CloudCooker) is located in the US (black). <img src="https://raw.github.com/andrewsmhay/brisket/master/misc/sensor.png"> ###Requirements Each script has different requirements but you should be able to run <code>bundle install</code> to install the gems listed in the Gemfile.
###Usage ####trim.rb <i>Cooking Note: You must trim the brisket before adding the rub to it.</i>
Used to prepare the scan configuration file with the appropriate set of ports for the scan.
<pre><code> $ sudo ./trim.rb <i>ports</i> masscan </code></pre>Where <i>ports</i> is one of the following options:
- remote - common remote access server ports
- apps - common application server ports
- www - common web server ports
- mail - common mail ports
- ms - common Microsoft ports
- db - common database ports
- special - special ports for selective scanning
- all - all of the above ports
e.g.
<pre><code> <b>$ sudo ./trim.rb remote masscan</b> </code></pre>####rub.rb <i>Cooking Note: Once trimmed, the brisket must be seasoned.</i>
Used to call the scanner and export the results in the appropriate results date directory and file.
<pre><code> $ sudo ./rub.rb <i>region</i> <i>scanner</i> </code></pre>Where <i>region</i> is one of the following options:
- apac
- europe
- us_east
- us_west
- us_all
- south_america
- all
and where <i>scanner</i> is one of the following options:
- masscan - the masscan scanner
- nmap - the nmap scanner
- nmap_virtual - the nmap scanner with configurations for virtual interfaces
- zmap - the zmap scanner
e.g.
<pre><code> <b>$ sudo ./rub.rb apac masscan</b> </code></pre>####mop.rb <i>Keep it moist if you want to win!</i>
Script to convert the various results formats into a common .csv file format.
<pre><code> $ sudo ./mop.rb <i>scanner</i> <i>date</i> </code></pre>Where <i>scanner</i> is one of the following options:
- masscan - the masscan scanner
- nmap - the nmap scanner
- zmap - the zmap scanner
and where <i>date</i> is the date directory that contains the scanner results files to convert in <i>M/D/YYYY</i> format.
e.g.
<pre><code> <b>$ sudo ./mop.rb masscan 2/3/2014</b> </code></pre>Note - For <i>March 2, 2014</i> the directory structure would be 2014/3/2 and should be entered as 2/3/2014.
####injector.rb <i>Add marinade to the brisket to keep it moist on the inside...</i>
Script to archive, transfer, and cleanup scan data. All scanner results are archived using <code>tar</code> and <code>bzip2</code>. The daily archive file is transferred to the CloudCooker for futher processing. Local scan results and the daily archive are deleted upon transmission to the CloudCooker.
<pre><code> <b>$ sudo ./injector.rb</b> </code></pre>####fixins.rb <i>Cooking Note: It just ain't a BBQ without some proper fixins to make the meal complete.</i>
This script downloads and unpacks the most recent GeoLiteCity database file for use in converting IP addresses to latitude and longitude data.
<pre><code> <b>$ sudo ./fixins.rb city</b> </code></pre>###Contact
To provide any feedback or ask any questions please reach out to Andrew Hay on Twitter at <a href="http://twitter.com/andrewsmhay" target="new">@andrewsmhay</a>.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
