Skip to content

Commit

Permalink
Merge pull request #49 from LasCC/Design-front
Browse files Browse the repository at this point in the history
Update 🙄
  • Loading branch information
LasCC authored Aug 4, 2020
2 parents c153822 + 03739a7 commit 197e94c
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 91 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img alt="logo_hack_tools" src="https://i.imgur.com/evnvda2.png" />
<h1>Welcome to HackTools 🛠</h1>
<p>
<img alt="Version" src="https://img.shields.io/badge/version-0.1.1-blue.svg?cacheSeconds=2592000" />
<img alt="Version" src="https://img.shields.io/badge/version-0.1.2-blue.svg?cacheSeconds=2592000" />
<img alt="release" src="https://img.shields.io/github/v/release/LasCC/Hack-Tools?color=yellow" />
<a href="https://addons.mozilla.org/en-US/firefox/addon/hacktools" target="_blank">
<img alt="mozilla" src="https://img.shields.io/amo/v/hacktools?color=purple&label=mozilla%20addons&logo=mozilla" />
Expand Down
70 changes: 69 additions & 1 deletion src/assets/img/icons/iconfont.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/components/AboutUs.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ export default (props) => {
HackTools is created by Ludovic COULON and Riadh BOUCHAHOUA
</Paragraph>
<a
href='https://www.buymeacoffee.com/hacktools'
href='https://www.paypal.com/paypalme/hacktoolsEXT'
target='_blank'
rel='noreferrer noopener'
>
<img
src='https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png'
alt='Buy Me A Coffee'
alt='Paypal'
style={{
height: 41,
width: 174,
Expand Down
133 changes: 74 additions & 59 deletions src/components/LayoutApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,77 +94,91 @@ export default (props) => {
>
Useful Linux commands
</Menu.Item>
<SubMenu
key='sub1'
<Menu.Item
key='5'
icon={
<IconFont
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-l-file'
/>
}
onClick={() => goTo(LFI)}
>
LFI
</Menu.Item>
<Menu.Item
key='6'
icon={
<IconFont
type='icon-html-'
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-js'
/>
}
title='Web'
onClick={() => goTo(XSS)}
>
<Menu.Item
key='5'
icon={<IconFont type='icon-l-file' />}
onClick={() => goTo(LFI)}
>
LFI
</Menu.Item>
<Menu.Item
key='6'
icon={<IconFont type='icon-js' />}
onClick={() => goTo(XSS)}
>
XSS
</Menu.Item>
<Menu.Item
key='7'
icon={<IconFont type='icon-sql' />}
onClick={() => goTo(SQLi)}
>
SQL Injection
</Menu.Item>
</SubMenu>
<SubMenu
key='sub2'
XSS
</Menu.Item>
<Menu.Item
key='7'
icon={
<IconFont
type='icon-sort_others'
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-sql'
/>
}
title='Other'
onClick={() => goTo(SQLi)}
>
<Menu.Item
key='8'
icon={<IconFont type='icon-jiemaleixing' />}
onClick={() => goTo(Base64Encode)}
>
Base64 Encoder / Decoder
</Menu.Item>
<Menu.Item
key='9'
icon={<IconFont type='icon-hash' />}
onClick={() => goTo(Hashing)}
>
Hashing
</Menu.Item>
<Menu.Item
key='10'
icon={<IconFont type='icon-url' />}
onClick={() => goTo(URLDecode)}
>
URL Encoder / Decoder
</Menu.Item>
<Menu.Item
key='11'
icon={<IconFont type='icon-hexo' />}
onClick={() => goTo(HexEncode)}
>
Hexadecimal Encoder / Decoder
</Menu.Item>
</SubMenu>
SQL Injection
</Menu.Item>
<Menu.Item
key='8'
icon={
<IconFont
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-jiemaleixing'
/>
}
onClick={() => goTo(Base64Encode)}
>
Base64 Encoder / Decoder
</Menu.Item>
<Menu.Item
key='9'
icon={
<IconFont
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-hash'
/>
}
onClick={() => goTo(Hashing)}
>
Hashing
</Menu.Item>
<Menu.Item
key='10'
icon={
<IconFont
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-url'
/>
}
onClick={() => goTo(URLDecode)}
>
URL Encoder / Decoder
</Menu.Item>
<Menu.Item
key='11'
icon={
<IconFont
style={{ fontSize: "1.5em", marginTop: 3 }}
type='icon-hexo'
/>
}
onClick={() => goTo(HexEncode)}
>
Hexadecimal Encoder / Decoder
</Menu.Item>

<Menu.Item
key='12'
icon={
Expand Down Expand Up @@ -194,6 +208,7 @@ export default (props) => {
<Paragraph style={{ textAlign: "center" }}>
Ludovic COULON - Riadh BOUCHAHOUA
</Paragraph>
<pre style={{ textAlign: "center" }}>HackTools Version - 0.1.2</pre>
</Footer>
</Layout>
</Layout>
Expand Down
38 changes: 19 additions & 19 deletions src/components/LinuxCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default (props) => {
return (
<QueueAnim delay={300} duration={1500}>
<Title
variant="Title level={3}"
variant='Title level={3}'
style={{ fontWeight: "bold", margin: 15 }}
>
Useful Linux command for your Penetration Testing
Expand All @@ -125,54 +125,54 @@ export default (props) => {
</Paragraph>
<Divider dashed />
<div
key="a"
key='a'
style={{
padding: 15,
}}
>
<Title level={3}>SUID Commands</Title>
{Suid.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="b"
key='b'
style={{
padding: 15,
}}
>
<Title level={3}>What version of the system ?</Title>
{VersionSystem.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="c"
key='c'
style={{
padding: 15,
}}
>
<Title level={3}>What is its kernel version ?</Title>
{KernelVersion.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<div
key="d"
key='d'
style={{
padding: 15,
}}
Expand All @@ -181,15 +181,15 @@ export default (props) => {
<Title level={3}>What is the environment variables ?</Title>
{EnvironmentVariables.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="e"
key='e'
style={{
padding: 15,
}}
Expand All @@ -199,31 +199,31 @@ export default (props) => {
</Title>
{ServiceSettings.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="f"
key='f'
style={{
padding: 15,
}}
>
<Title level={3}>Is there any cron jobs ?</Title>
{CronJobs.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="g"
key='g'
style={{
padding: 15,
}}
Expand All @@ -233,39 +233,39 @@ export default (props) => {
</Title>
{UsersHost.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="h"
key='h'
style={{
padding: 15,
}}
>
<Title level={3}>How to port forwarding ?</Title>
{PortForwarding.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
})}
</div>
<Divider dashed />
<div
key="h"
key='h'
style={{
padding: 15,
}}
>
<Title level={3}>TAR wildcard cronjob privilege escalation </Title>
{wildcardPrivesc.map((k, i) => {
return (
<Paragraph key={i} copyable>
<Paragraph key={i} copyable ellipsis={true}>
{k.title}
</Paragraph>
);
Expand Down
18 changes: 15 additions & 3 deletions src/components/encoding/Base64Encode.js
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -67,7 +71,7 @@ const Base64Encode = () => {
Encode
</Button>
<Button
type='primary'
type='dashed'
style={{ marginBottom: 10, marginTop: 15, marginLeft: 15 }}
onClick={() => handleClick("decode")}
>
Expand All @@ -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'
/>
<Clipboard component='a' data-clipboard-text={output}>
<Button
Expand All @@ -97,6 +101,14 @@ const Base64Encode = () => {
<CopyOutlined /> Copy
</Button>
</Clipboard>
<Button
type='link'
danger
style={{ marginBottom: 10, marginTop: 15 }}
onClick={() => setOutput("")}
>
<ClearOutlined /> Clear
</Button>
</div>
</QueueAnim>
);
Expand Down
Loading

0 comments on commit 197e94c

Please sign in to comment.