Merge pull request #12 from treefort/package-management-and-structure

Adds package management and cleans up file structure
This commit is contained in:
s0lray
2016-08-19 23:57:46 -04:00
committed by GitHub
10 changed files with 129 additions and 64 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"directory" : "public/js/vendor"
}
+14
View File
@@ -0,0 +1,14 @@
# vendor packages #
######################
public/js/vendor
node_modules
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
+26 -12
View File
@@ -3,26 +3,40 @@ Advanced Reconnaissance Framework
http://osintframework.com
## Notes
OSINT framework focused on gathering information from free tools or resources. Everything inlcuded in the framework should be either entirely free, return some free information, or at the very least have a free trial available.
OSINT framework focused on gathering information from free tools or resources. Everything included in the framework should be either entirely free, return some free information, or at the very least have a free trial available.
I originally created this framework with an information security point of view. Since then, the response from other fields and disciplines has been awesome. I would love to be able to include any other OSINT resources, especially from fields outside of infosec. Please let me know about anything that might be missing!
### Instructions for installing/running locally
<ol start="1">
<li>Clone this repo</li>
<li>Open a terminal in repo directory</li>
</ol>
##For Update Notifications
Follow me on Twitter: @jnordine - https://twitter.com/jnordine
_and then..._
#### install dependencies with npm:
<ol start="3">
<li>Run `npm install`</li>
<li>Run `npm start` to start SimpleHTTPServer in the /public directory on port 8000 (you'll need python installed for this, of course)</li>
<li>Open your browser to http://localhost:8000</li>
</ol>
##### install dependencies with bower:
<ol start="3">
<li>Run `bower install`</li>
<li>Run `cd ./public; python -m SimpleHTTPServer 8000` (you'll need python installed for this, of course)</li>
<li>Open your browser to http://localhost:8000</li>
</ol>
### For Update Notifications
Follow me on Twitter: @jnordine - https://twitter.com/jnordine
Watch or star the project on Github: https://github.com/lockfale/arf
##Suggestions, Comments, Feedback
Feedback or new tool suggestions are extremely welcome! Please feel free to submit an issue on github or reach out on Twitter.
### Suggestions, Comments, Feedback
Feedback or new tool suggestions are extremely welcome! Please feel free to submit a pull request or open an issue on github or reach out on Twitter.
## To Do
- [ ] Expand / Collapse all buttons
@@ -30,4 +44,4 @@ Feedback or new tool suggestions are extremely welcome! Please feel free to sub
- [ ] Fix "the boldening"
- [ ] Look into best way to display extra information for each site/tool
- [ ] Find a good way to crowdsource rating information
- [ ] Update d3js
- [ ] Update d3js
+13
View File
@@ -0,0 +1,13 @@
{
"name": "ARF",
"main": "index.html",
"homepage": "https://github.com/lockfale/ARF",
"authors": [
"Justin Nordine (s0lray)"
],
"description": "Advanced Reconnaissance Framework",
"license": "",
"dependencies": {
"d3": "3.5.16"
}
}
-46
View File
@@ -1,46 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>Adv Recon Framework</title>
</head>
<style>
.node {
cursor: pointer;
}
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 1.5px;
}
.node text {
font: 12px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 1px;
}
</style>
<body>
<h1>Advanced Reconnaissance Framework</h1>
<script src="d3.min.js"></script>
<script src="arf.js"></script>
<h3>For Update Notifications</h3>
Follow me on Twitter: <a href="https://twitter.com/jnordine">@jnordine</a><br>
Watch or star the project on Github: <a href="https://github.com/lockfale/arf">https://github.com/lockfale/arf</a>
<h3>Suggestions, Comments, Feedback</h3>
The preferred method for sending new tool suggestions or to let me know about dead links would be to submit an issue on github but I will take them in any fashion.
For general feedback or just to chat, Twitter is the best way to reach out.
</body>
+24
View File
@@ -0,0 +1,24 @@
{
"name": "arf",
"version": "1.0.0",
"description": "Advanced Reconnaissance Framework",
"main": "public/index.html",
"scripts": {
"postinstall": "copyfiles -f ./node_modules/d3/d3.min.js ./public/js/vendor/d3",
"start": "cd ./public; python -m SimpleHTTPServer 8000"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lockfale/ARF.git"
},
"author": "Justin Nordine (s0lray)",
"license": "",
"bugs": {
"url": "https://github.com/lockfale/ARF/issues"
},
"homepage": "https://github.com/lockfale/ARF#readme",
"devDependencies": {
"copyfiles": "^1.0.0",
"d3": "^3.5.16"
}
}
View File
+19
View File
@@ -0,0 +1,19 @@
.node {
cursor: pointer;
}
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 1.5px;
}
.node text {
font: 12px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 1px;
}
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ARF :: Advanced Recon Framework</title>
<link rel="stylesheet" href="css/arf.css" media="screen" charset="utf-8">
</head>
<body>
<h1>Advanced Reconnaissance Framework</h1>
<div class="arf_content"></div>
<h3>For Update Notifications</h3>
Follow me on Twitter: <a href="https://twitter.com/jnordine">@jnordine</a><br>
Watch or star the project on Github: <a href="https://github.com/lockfale/arf">https://github.com/lockfale/arf</a>
<h3>Suggestions, Comments, Feedback</h3>
The preferred method for sending new tool suggestions or to let me know about dead links would be to submit an issue on github but I will take them in any fashion.
For general feedback or just to chat, Twitter is the best way to reach out.
<script src="js/vendor/d3/d3.min.js"></script>
<script src="js/arf.js"></script>
</body>
</html>
+6 -6
View File
@@ -14,13 +14,13 @@
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });
var svg = d3.select("body").append("svg")
var svg = d3.select(".arf_content").append("svg")
.attr("width", width + margin.right + margin.left)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
d3.json("arf.json", function(error, flare) {
d3.json("../arf.json", function(error, flare) {
if (error) throw error;
root = flare;
@@ -82,9 +82,9 @@
.attr("dy", ".35em")
.attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; })
.text(function(d) { return d.name; })
.style("fill-opacity", 1e-6);
}
});
.style("fill-opacity", 1e-6);
}
});
// Transition nodes to their new position.
var nodeUpdate = node.transition()
@@ -162,4 +162,4 @@
}
}();
}();