Skip to content

Commit 197e94c

Browse files
authored
Merge pull request #49 from LasCC/Design-front
Update 🙄
2 parents c153822 + 03739a7 commit 197e94c

File tree

9 files changed

+209
-91
lines changed

9 files changed

+209
-91
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img alt="logo_hack_tools" src="https://i.imgur.com/evnvda2.png" />
33
<h1>Welcome to HackTools 🛠</h1>
44
<p>
5-
<img alt="Version" src="https://img.shields.io/badge/version-0.1.1-blue.svg?cacheSeconds=2592000" />
5+
<img alt="Version" src="https://img.shields.io/badge/version-0.1.2-blue.svg?cacheSeconds=2592000" />
66
<img alt="release" src="https://img.shields.io/github/v/release/LasCC/Hack-Tools?color=yellow" />
77
<a href="https://addons.mozilla.org/en-US/firefox/addon/hacktools" target="_blank">
88
<img alt="mozilla" src="https://img.shields.io/amo/v/hacktools?color=purple&label=mozilla%20addons&logo=mozilla" />

src/assets/img/icons/iconfont.js

Lines changed: 69 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/AboutUs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ export default (props) => {
4848
HackTools is created by Ludovic COULON and Riadh BOUCHAHOUA
4949
</Paragraph>
5050
<a
51-
href='https://www.buymeacoffee.com/hacktools'
51+
href='https://www.paypal.com/paypalme/hacktoolsEXT'
5252
target='_blank'
5353
rel='noreferrer noopener'
5454
>
5555
<img
5656
src='https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png'
57-
alt='Buy Me A Coffee'
57+
alt='Paypal'
5858
style={{
5959
height: 41,
6060
width: 174,

src/components/LayoutApp.js

Lines changed: 74 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -94,77 +94,91 @@ export default (props) => {
9494
>
9595
Useful Linux commands
9696
</Menu.Item>
97-
<SubMenu
98-
key='sub1'
97+
<Menu.Item
98+
key='5'
99+
icon={
100+
<IconFont
101+
style={{ fontSize: "1.5em", marginTop: 3 }}
102+
type='icon-l-file'
103+
/>
104+
}
105+
onClick={() => goTo(LFI)}
106+
>
107+
LFI
108+
</Menu.Item>
109+
<Menu.Item
110+
key='6'
99111
icon={
100112
<IconFont
101-
type='icon-html-'
102113
style={{ fontSize: "1.5em", marginTop: 3 }}
114+
type='icon-js'
103115
/>
104116
}
105-
title='Web'
117+
onClick={() => goTo(XSS)}
106118
>
107-
<Menu.Item
108-
key='5'
109-
icon={<IconFont type='icon-l-file' />}
110-
onClick={() => goTo(LFI)}
111-
>
112-
LFI
113-
</Menu.Item>
114-
<Menu.Item
115-
key='6'
116-
icon={<IconFont type='icon-js' />}
117-
onClick={() => goTo(XSS)}
118-
>
119-
XSS
120-
</Menu.Item>
121-
<Menu.Item
122-
key='7'
123-
icon={<IconFont type='icon-sql' />}
124-
onClick={() => goTo(SQLi)}
125-
>
126-
SQL Injection
127-
</Menu.Item>
128-
</SubMenu>
129-
<SubMenu
130-
key='sub2'
119+
XSS
120+
</Menu.Item>
121+
<Menu.Item
122+
key='7'
131123
icon={
132124
<IconFont
133-
type='icon-sort_others'
134125
style={{ fontSize: "1.5em", marginTop: 3 }}
126+
type='icon-sql'
135127
/>
136128
}
137-
title='Other'
129+
onClick={() => goTo(SQLi)}
138130
>
139-
<Menu.Item
140-
key='8'
141-
icon={<IconFont type='icon-jiemaleixing' />}
142-
onClick={() => goTo(Base64Encode)}
143-
>
144-
Base64 Encoder / Decoder
145-
</Menu.Item>
146-
<Menu.Item
147-
key='9'
148-
icon={<IconFont type='icon-hash' />}
149-
onClick={() => goTo(Hashing)}
150-
>
151-
Hashing
152-
</Menu.Item>
153-
<Menu.Item
154-
key='10'
155-
icon={<IconFont type='icon-url' />}
156-
onClick={() => goTo(URLDecode)}
157-
>
158-
URL Encoder / Decoder
159-
</Menu.Item>
160-
<Menu.Item
161-
key='11'
162-
icon={<IconFont type='icon-hexo' />}
163-
onClick={() => goTo(HexEncode)}
164-
>
165-
Hexadecimal Encoder / Decoder
166-
</Menu.Item>
167-
</SubMenu>
131+
SQL Injection
132+
</Menu.Item>
133+
<Menu.Item
134+
key='8'
135+
icon={
136+
<IconFont
137+
style={{ fontSize: "1.5em", marginTop: 3 }}
138+
type='icon-jiemaleixing'
139+
/>
140+
}
141+
onClick={() => goTo(Base64Encode)}
142+
>
143+
Base64 Encoder / Decoder
144+
</Menu.Item>
145+
<Menu.Item
146+
key='9'
147+
icon={
148+
<IconFont
149+
style={{ fontSize: "1.5em", marginTop: 3 }}
150+
type='icon-hash'
151+
/>
152+
}
153+
onClick={() => goTo(Hashing)}
154+
>
155+
Hashing
156+
</Menu.Item>
157+
<Menu.Item
158+
key='10'
159+
icon={
160+
<IconFont
161+
style={{ fontSize: "1.5em", marginTop: 3 }}
162+
type='icon-url'
163+
/>
164+
}
165+
onClick={() => goTo(URLDecode)}
166+
>
167+
URL Encoder / Decoder
168+
</Menu.Item>
169+
<Menu.Item
170+
key='11'
171+
icon={
172+
<IconFont
173+
style={{ fontSize: "1.5em", marginTop: 3 }}
174+
type='icon-hexo'
175+
/>
176+
}
177+
onClick={() => goTo(HexEncode)}
178+
>
179+
Hexadecimal Encoder / Decoder
180+
</Menu.Item>
181+
168182
<Menu.Item
169183
key='12'
170184
icon={
@@ -194,6 +208,7 @@ export default (props) => {
194208
<Paragraph style={{ textAlign: "center" }}>
195209
Ludovic COULON - Riadh BOUCHAHOUA
196210
</Paragraph>
211+
<pre style={{ textAlign: "center" }}>HackTools Version - 0.1.2</pre>
197212
</Footer>
198213
</Layout>
199214
</Layout>

src/components/LinuxCommands.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default (props) => {
115115
return (
116116
<QueueAnim delay={300} duration={1500}>
117117
<Title
118-
variant="Title level={3}"
118+
variant='Title level={3}'
119119
style={{ fontWeight: "bold", margin: 15 }}
120120
>
121121
Useful Linux command for your Penetration Testing
@@ -125,54 +125,54 @@ export default (props) => {
125125
</Paragraph>
126126
<Divider dashed />
127127
<div
128-
key="a"
128+
key='a'
129129
style={{
130130
padding: 15,
131131
}}
132132
>
133133
<Title level={3}>SUID Commands</Title>
134134
{Suid.map((k, i) => {
135135
return (
136-
<Paragraph key={i} copyable>
136+
<Paragraph key={i} copyable ellipsis={true}>
137137
{k.title}
138138
</Paragraph>
139139
);
140140
})}
141141
</div>
142142
<Divider dashed />
143143
<div
144-
key="b"
144+
key='b'
145145
style={{
146146
padding: 15,
147147
}}
148148
>
149149
<Title level={3}>What version of the system ?</Title>
150150
{VersionSystem.map((k, i) => {
151151
return (
152-
<Paragraph key={i} copyable>
152+
<Paragraph key={i} copyable ellipsis={true}>
153153
{k.title}
154154
</Paragraph>
155155
);
156156
})}
157157
</div>
158158
<Divider dashed />
159159
<div
160-
key="c"
160+
key='c'
161161
style={{
162162
padding: 15,
163163
}}
164164
>
165165
<Title level={3}>What is its kernel version ?</Title>
166166
{KernelVersion.map((k, i) => {
167167
return (
168-
<Paragraph key={i} copyable>
168+
<Paragraph key={i} copyable ellipsis={true}>
169169
{k.title}
170170
</Paragraph>
171171
);
172172
})}
173173
</div>
174174
<div
175-
key="d"
175+
key='d'
176176
style={{
177177
padding: 15,
178178
}}
@@ -181,15 +181,15 @@ export default (props) => {
181181
<Title level={3}>What is the environment variables ?</Title>
182182
{EnvironmentVariables.map((k, i) => {
183183
return (
184-
<Paragraph key={i} copyable>
184+
<Paragraph key={i} copyable ellipsis={true}>
185185
{k.title}
186186
</Paragraph>
187187
);
188188
})}
189189
</div>
190190
<Divider dashed />
191191
<div
192-
key="e"
192+
key='e'
193193
style={{
194194
padding: 15,
195195
}}
@@ -199,31 +199,31 @@ export default (props) => {
199199
</Title>
200200
{ServiceSettings.map((k, i) => {
201201
return (
202-
<Paragraph key={i} copyable>
202+
<Paragraph key={i} copyable ellipsis={true}>
203203
{k.title}
204204
</Paragraph>
205205
);
206206
})}
207207
</div>
208208
<Divider dashed />
209209
<div
210-
key="f"
210+
key='f'
211211
style={{
212212
padding: 15,
213213
}}
214214
>
215215
<Title level={3}>Is there any cron jobs ?</Title>
216216
{CronJobs.map((k, i) => {
217217
return (
218-
<Paragraph key={i} copyable>
218+
<Paragraph key={i} copyable ellipsis={true}>
219219
{k.title}
220220
</Paragraph>
221221
);
222222
})}
223223
</div>
224224
<Divider dashed />
225225
<div
226-
key="g"
226+
key='g'
227227
style={{
228228
padding: 15,
229229
}}
@@ -233,39 +233,39 @@ export default (props) => {
233233
</Title>
234234
{UsersHost.map((k, i) => {
235235
return (
236-
<Paragraph key={i} copyable>
236+
<Paragraph key={i} copyable ellipsis={true}>
237237
{k.title}
238238
</Paragraph>
239239
);
240240
})}
241241
</div>
242242
<Divider dashed />
243243
<div
244-
key="h"
244+
key='h'
245245
style={{
246246
padding: 15,
247247
}}
248248
>
249249
<Title level={3}>How to port forwarding ?</Title>
250250
{PortForwarding.map((k, i) => {
251251
return (
252-
<Paragraph key={i} copyable>
252+
<Paragraph key={i} copyable ellipsis={true}>
253253
{k.title}
254254
</Paragraph>
255255
);
256256
})}
257257
</div>
258258
<Divider dashed />
259259
<div
260-
key="h"
260+
key='h'
261261
style={{
262262
padding: 15,
263263
}}
264264
>
265265
<Title level={3}>TAR wildcard cronjob privilege escalation </Title>
266266
{wildcardPrivesc.map((k, i) => {
267267
return (
268-
<Paragraph key={i} copyable>
268+
<Paragraph key={i} copyable ellipsis={true}>
269269
{k.title}
270270
</Paragraph>
271271
);

src/components/encoding/Base64Encode.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import React, { useState } from "react";
22
import { Button, Input, Typography, message, Divider } from "antd";
3-
import { CopyOutlined, createFromIconfontCN } from "@ant-design/icons";
3+
import {
4+
CopyOutlined,
5+
createFromIconfontCN,
6+
ClearOutlined,
7+
} from "@ant-design/icons";
48
import Clipboard from "react-clipboard.js";
59
import QueueAnim from "rc-queue-anim";
610

@@ -67,7 +71,7 @@ const Base64Encode = () => {
6771
Encode
6872
</Button>
6973
<Button
70-
type='primary'
74+
type='dashed'
7175
style={{ marginBottom: 10, marginTop: 15, marginLeft: 15 }}
7276
onClick={() => handleClick("decode")}
7377
>
@@ -86,7 +90,7 @@ const Base64Encode = () => {
8690
rows={4}
8791
value={output}
8892
style={{ cursor: "auto", marginTop: 15, color: "#777" }}
89-
placeholder='Output'
93+
placeholder='The results will appear here'
9094
/>
9195
<Clipboard component='a' data-clipboard-text={output}>
9296
<Button
@@ -97,6 +101,14 @@ const Base64Encode = () => {
97101
<CopyOutlined /> Copy
98102
</Button>
99103
</Clipboard>
104+
<Button
105+
type='link'
106+
danger
107+
style={{ marginBottom: 10, marginTop: 15 }}
108+
onClick={() => setOutput("")}
109+
>
110+
<ClearOutlined /> Clear
111+
</Button>
100112
</div>
101113
</QueueAnim>
102114
);

0 commit comments

Comments
 (0)