From 03739a7b8ec8ba2713813fddcef5b8640b418477 Mon Sep 17 00:00:00 2001 From: LasCC Date: Tue, 4 Aug 2020 15:24:22 +0200 Subject: [PATCH] =?UTF-8?q?Update=20=F0=9F=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/assets/img/icons/iconfont.js | 70 ++++++++++++- src/components/AboutUs.js | 4 +- src/components/LayoutApp.js | 133 +++++++++++++----------- src/components/LinuxCommands.js | 38 +++---- src/components/encoding/Base64Encode.js | 18 +++- src/components/encoding/HexEncode.js | 16 ++- src/components/encoding/URLEncode.js | 16 ++- src/manifest.json | 3 +- 9 files changed, 209 insertions(+), 91 deletions(-) diff --git a/README.md b/README.md index 0622eb3..b17df7f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ logo_hack_tools

Welcome to HackTools 🛠

- Version + Version release mozilla diff --git a/src/assets/img/icons/iconfont.js b/src/assets/img/icons/iconfont.js index f4e6412..caf8b54 100644 --- a/src/assets/img/icons/iconfont.js +++ b/src/assets/img/icons/iconfont.js @@ -1 +1,69 @@ -!function(t){var c,l,h,a,o,e,i,v='',s=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(s&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}function m(){e||(e=!0,a())}l=function(){var t,c,l,h,a,o=document.createElement("div");o.innerHTML=v,v=null,(t=o.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",c=t,(l=document.body).firstChild?(h=c,(a=l.firstChild).parentNode.insertBefore(h,a)):l.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(h=function(){document.removeEventListener("DOMContentLoaded",h,!1),l()},document.addEventListener("DOMContentLoaded",h,!1)):document.attachEvent&&(a=l,o=t.document,e=!1,(i=function(){try{o.documentElement.doScroll("left")}catch(t){return void setTimeout(i,50)}m()})(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,m())})}(window); \ No newline at end of file +!(function (t) { + var c, + l, + h, + a, + o, + e, + i, + s = + '', + v = (c = document.getElementsByTagName("script"))[ + c.length - 1 + ].getAttribute("data-injectcss"); + if (v && !t.__iconfont__svg__cssinject__) { + t.__iconfont__svg__cssinject__ = !0; + try { + document.write( + "" + ); + } catch (t) { + console && console.log(t); + } + } + function m() { + e || ((e = !0), a()); + } + (l = function () { + var t, + c, + l, + h, + a, + o = document.createElement("div"); + (o.innerHTML = s), + (s = null), + (t = o.getElementsByTagName("svg")[0]) && + (t.setAttribute("aria-hidden", "true"), + (t.style.position = "absolute"), + (t.style.width = 0), + (t.style.height = 0), + (t.style.overflow = "hidden"), + (c = t), + (l = document.body).firstChild + ? ((h = c), (a = l.firstChild).parentNode.insertBefore(h, a)) + : l.appendChild(c)); + }), + document.addEventListener + ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) + ? setTimeout(l, 0) + : ((h = function () { + document.removeEventListener("DOMContentLoaded", h, !1), l(); + }), + document.addEventListener("DOMContentLoaded", h, !1)) + : document.attachEvent && + ((a = l), + (o = t.document), + (e = !1), + (i = function () { + try { + o.documentElement.doScroll("left"); + } catch (t) { + return void setTimeout(i, 50); + } + m(); + })(), + (o.onreadystatechange = function () { + "complete" == o.readyState && ((o.onreadystatechange = null), m()); + })); +})(window); diff --git a/src/components/AboutUs.js b/src/components/AboutUs.js index 0989e58..fb380fd 100644 --- a/src/components/AboutUs.js +++ b/src/components/AboutUs.js @@ -48,13 +48,13 @@ export default (props) => { HackTools is created by Ludovic COULON and Riadh BOUCHAHOUA Buy Me A Coffee { > Useful Linux commands - + } + onClick={() => goTo(LFI)} + > + LFI + + } - title='Web' + onClick={() => goTo(XSS)} > - } - onClick={() => goTo(LFI)} - > - LFI - - } - onClick={() => goTo(XSS)} - > - XSS - - } - onClick={() => goTo(SQLi)} - > - SQL Injection - - - + } - title='Other' + onClick={() => goTo(SQLi)} > - } - onClick={() => goTo(Base64Encode)} - > - Base64 Encoder / Decoder - - } - onClick={() => goTo(Hashing)} - > - Hashing - - } - onClick={() => goTo(URLDecode)} - > - URL Encoder / Decoder - - } - onClick={() => goTo(HexEncode)} - > - Hexadecimal Encoder / Decoder - - + SQL Injection + + + } + onClick={() => goTo(Base64Encode)} + > + Base64 Encoder / Decoder + + + } + onClick={() => goTo(Hashing)} + > + Hashing + + + } + onClick={() => goTo(URLDecode)} + > + URL Encoder / Decoder + + + } + onClick={() => goTo(HexEncode)} + > + Hexadecimal Encoder / Decoder + + { Ludovic COULON - Riadh BOUCHAHOUA +

HackTools Version - 0.1.2
diff --git a/src/components/LinuxCommands.js b/src/components/LinuxCommands.js index 9dbdf46..a0050f1 100644 --- a/src/components/LinuxCommands.js +++ b/src/components/LinuxCommands.js @@ -115,7 +115,7 @@ export default (props) => { return ( Useful Linux command for your Penetration Testing @@ -125,7 +125,7 @@ export default (props) => { </Paragraph> <Divider dashed /> <div - key="a" + key='a' style={{ padding: 15, }} @@ -133,7 +133,7 @@ export default (props) => { <Title level={3}>SUID Commands {Suid.map((k, i) => { return ( - + {k.title} ); @@ -141,7 +141,7 @@ export default (props) => {
{ What version of the system ? {VersionSystem.map((k, i) => { return ( - + {k.title} ); @@ -157,7 +157,7 @@ export default (props) => {
{ What is its kernel version ? {KernelVersion.map((k, i) => { return ( - + {k.title} ); })}
{ What is the environment variables ? {EnvironmentVariables.map((k, i) => { return ( - + {k.title} ); @@ -189,7 +189,7 @@ export default (props) => {
{ {ServiceSettings.map((k, i) => { return ( - + {k.title} ); @@ -207,7 +207,7 @@ export default (props) => {
{ Is there any cron jobs ? {CronJobs.map((k, i) => { return ( - + {k.title} ); @@ -223,7 +223,7 @@ export default (props) => {
{ {UsersHost.map((k, i) => { return ( - + {k.title} ); @@ -241,7 +241,7 @@ export default (props) => {
{ How to port forwarding ? {PortForwarding.map((k, i) => { return ( - + {k.title} ); @@ -257,7 +257,7 @@ export default (props) => {
{ TAR wildcard cronjob privilege escalation {wildcardPrivesc.map((k, i) => { return ( - + {k.title} ); diff --git a/src/components/encoding/Base64Encode.js b/src/components/encoding/Base64Encode.js index eee2482..d619754 100644 --- a/src/components/encoding/Base64Encode.js +++ b/src/components/encoding/Base64Encode.js @@ -1,6 +1,10 @@ import React, { useState } from "react"; import { Button, Input, Typography, message, Divider } from "antd"; -import { CopyOutlined, createFromIconfontCN } from "@ant-design/icons"; +import { + CopyOutlined, + createFromIconfontCN, + ClearOutlined, +} from "@ant-design/icons"; import Clipboard from "react-clipboard.js"; import QueueAnim from "rc-queue-anim"; @@ -67,7 +71,7 @@ const Base64Encode = () => { Encode +
); diff --git a/src/components/encoding/HexEncode.js b/src/components/encoding/HexEncode.js index eceecf4..f32dbf3 100644 --- a/src/components/encoding/HexEncode.js +++ b/src/components/encoding/HexEncode.js @@ -1,6 +1,10 @@ import React, { useState } from "react"; import { Button, Input, Typography, message, Divider } from "antd"; -import { CopyOutlined, createFromIconfontCN } from "@ant-design/icons"; +import { + CopyOutlined, + createFromIconfontCN, + ClearOutlined, +} from "@ant-design/icons"; import Clipboard from "react-clipboard.js"; import QueueAnim from "rc-queue-anim"; @@ -101,7 +105,7 @@ const HexEncode = () => { rows={4} value={output} style={{ cursor: "auto", marginTop: 15, color: "#777" }} - placeholder='Output' + placeholder='The results will appear here' /> + ); diff --git a/src/components/encoding/URLEncode.js b/src/components/encoding/URLEncode.js index f23b04e..a23e7da 100644 --- a/src/components/encoding/URLEncode.js +++ b/src/components/encoding/URLEncode.js @@ -1,6 +1,10 @@ import React, { useState } from "react"; import { Button, Input, Typography, message, Divider } from "antd"; -import { CopyOutlined, createFromIconfontCN } from "@ant-design/icons"; +import { + CopyOutlined, + createFromIconfontCN, + ClearOutlined, +} from "@ant-design/icons"; import Clipboard from "react-clipboard.js"; import QueueAnim from "rc-queue-anim"; @@ -86,7 +90,7 @@ const Base64Encode = () => { rows={4} value={output} style={{ cursor: "auto", marginTop: 15, color: "#777" }} - placeholder='Output' + placeholder='The results will appear here' /> + ); diff --git a/src/manifest.json b/src/manifest.json index cf1cd95..5cb8ae5 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,8 +1,7 @@ { "name": "Hack Tools", - "version": "0.1.0", + "version": "0.1.2", "description": "The all in one Red team extension for web pentester", - "permissions": ["storage"], "browser_action": { "default_title": "Hack Tools", "default_popup": "index.html",