Pending changes exported from your codespace

This commit is contained in:
c0d1ng_ma5ter 2025-01-28 20:24:55 +00:00
parent cffe2041cc
commit 55880c1162
3 changed files with 6519 additions and 3 deletions

6477
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -266,6 +266,22 @@ function App() {
setIsAttacking(false); setIsAttacking(false);
}; };
const descriptions = {
'http flood': 'Sends random HTTP requests to the target',
'http bypass': 'Sends HTTP requests to the target, mimicking real requests',
'http slowloris': 'Sends random HTTP requests to the target, while keeping the connection open',
'tcp flood': 'Sends random TCP requests to the target',
'minecraft ping': 'Sends Minecraft ping requests to the target'
};
const emojis = {
'http flood': '🌊',
'http bypass': '🚀',
'http slowloris': '🦥',
'tcp flood': '📶',
'minecraft ping': '⛏'
}
return ( return (
<div <div
className={`w-screen h-screen bg-gradient-to-br ${ className={`w-screen h-screen bg-gradient-to-br ${
@ -379,7 +395,7 @@ function App() {
Attack Method Attack Method
</label> </label>
<select <select
value={attackMethod} value={attackMethod}
onChange={(e) => setAttackMethod(e.target.value)} onChange={(e) => setAttackMethod(e.target.value)}
className={`${ className={`${
animState === 0 || animState === 3 ? "" : "text-gray-900" animState === 0 || animState === 3 ? "" : "text-gray-900"
@ -462,8 +478,19 @@ function App() {
</div> </div>
</div> </div>
{/*Attack method description*/} {/*Attack method description*/}
<div>Idk what to put here</div> <label
className={`block mb-1 text-sm font-medium ${
animState === 0 || animState === 3
? "text-gray-700"
: "text-white"
}`}
>
Attack description
</label>
<div className = "w-full px-4 py-2 border border-pink-200 rounded-lg outline-none focus:border-pink-500 focus:ring-2 focus:ring-pink-200" id="description">{attackMethod.replaceAll(/_/ig, ' ') + ' ' + emojis[attackMethod.replaceAll(/_/ig, ' ')]}: <div className={animState === 0 || animState === 3
? "text-gray-700"
: "text-white" + "regularText"}>{descriptions[attackMethod.replaceAll(/_/ig, ' ')]}</div></div>
<br/>
{/* Stats Widgets */} {/* Stats Widgets */}
<div className="grid grid-cols-3 gap-4 mb-6"> <div className="grid grid-cols-3 gap-4 mb-6">
<div className="p-4 rounded-lg bg-gradient-to-br from-pink-500/10 to-blue-500/10"> <div className="p-4 rounded-lg bg-gradient-to-br from-pink-500/10 to-blue-500/10">

View file

@ -164,3 +164,15 @@ how to remove the vertical space around the range input in IE*/
/*Edge starts the margin from the thumb, not the track as other browsers do*/ /*Edge starts the margin from the thumb, not the track as other browsers do*/
} }
} }
#description {
width: 100%;
color: rgba(236, 72, 153, 1);
font-weight: bolder;
}
.regularText {
display: inline;
color: black;
font-weight: normal;
}