-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.
-
-
\ No newline at end of file
diff --git a/arf.json b/public/arf.json
similarity index 100%
rename from arf.json
rename to public/arf.json
diff --git a/public/css/arf.css b/public/css/arf.css
new file mode 100644
index 0000000..6fd4b9f
--- /dev/null
+++ b/public/css/arf.css
@@ -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;
+}
diff --git a/public/index.html b/public/index.html
new file mode 100644
index 0000000..55ddd9e
--- /dev/null
+++ b/public/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+ ARF :: Advanced Recon Framework
+
+
+
+
+ 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.
+
+
+
+
+
diff --git a/arf.js b/public/js/arf.js
similarity index 96%
rename from arf.js
rename to public/js/arf.js
index 4478db2..4301003 100644
--- a/arf.js
+++ b/public/js/arf.js
@@ -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 @@
}
-}();
\ No newline at end of file
+}();