metasploit-modules's People
metasploit-modules's Issues
create a full fork of msf, clone, and create a new branch
@jiuweigui, your code is quite impressive for a first-timer. You want to do a full fork of the metasploit repo if you ever want to submit your code back to msf. To do this, refer to this article: https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment
If you already have a dev environment (you have MSF's dependencies installed on your system outside the metasploit installer area) you can just skip to the git stuff. You want to fork the metasploit-framework official repo, so you'll have a github.com/jiuweigui/metasploit-framework repo. Then you'll want to clone that to your local system (this is call covered in the url above) and creating a new branch with git checkout -b feature/prefetch_post_module (or whatever name you want, the name can have '/'s in it). That will create a new branch from master and switch you to it (you're no longer changing/adding code to your master branch). Then add your module into that repo/branch by copying or moving the file to modules/post/windows/gather/prefetch.rb (or whatever), then running git add modules/post/windows/gather/prefetch.rb (so it will be tracked in your repo), then git commit -m "initial transfer from old repo (or whatever)", then git push (you might need to run git push -u origin feature/prefetch_post_module the first time, then you can run just git push any time after that). I know it sounds confusing, but it will get easier, and it's explained better in the url I mentioned, I'm just giving you the highlights.
I hope this doesn't discourage you. If you have problems, you can ask anyone in the channel including me. Or, if you don't want to go thru all this, I can create a branch for you on my repo and add you as a committer and you can just clone and push directly to it. The git history will show your commits, so it won't just look like I did it. Then when you like it, I can submit the PR for you. But if you plan on contributing often, you probably want to setup your own environment
You may also want to check this out https://github.com/rapid7/metasploit-framework/wiki/Common-Metasploit-Module-Coding-Mistakes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.