Created
July 18, 2023 05:05
-
-
Save ndunks/8990e9836344292a44087e5abb5b454f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const a = [ | |
"89ac3a689b5db6d45f266c5ae38be1c64df684bf", | |
"0f5556a330fde267c83ef9f71b6a427e20f98f9c", | |
"bf87fbc805f330f5f1f18b1af9b26cafa9e5f66a", | |
"1fd3f041458c6de396904bf0c38ab2329790ee35", | |
"ac8efbee8e25ed4daef74ba5235d195c1bbe8648", | |
"2bd23f3ef022eb103aa3c45a2d12411c0cd06f51", | |
"d2823018d13e4aa4c34eaf869304f1aec2896486", | |
"f66f7c079941e0686a39f5f7f194594c5d17374c", | |
"204ea5f26eea32a56362eaccb699084c05cc6c3a", | |
"521cab4cbecf7d39c909fc7512b8d4ceaf54baaf", | |
"4fd272e9c18f7618332a3e076659f42a05a7d321", | |
"1333626dfadf15972a37f47cdd2d45d853a4f5e1", | |
"8d134ed3f50c994fb1f1ea6a43545768b68df9aa", | |
"6eac7005c1f9f936c3bbeada9455286e73961a29", | |
"b99ac86ea25beec55c70eee4c36e8f9626b6c5a8", | |
"c419dc30c9aa677e23175ecb1f40dee0aeadc704", | |
"889a39d2a11fe2dd5fcd56a23313182194869186", | |
"fc891f5d92ede9f5750e255bdadfaef1b3a4dedd", | |
"59ad27ae75343dbd31a90b3475edaa7d43fded1c", | |
"9cfc89cd404b3f852d6b0b773510dc6da52625c4", | |
"277e3a3623c5005fe4eeb892769ae7e847cbd002", | |
"69e449a056b220e6a01a6f055e085ea1c33c8100", | |
"29d6f56fe6e40f18c6fe8e9ca698f4c98fefab41", | |
"3eb0c42b36610876c7ec708afb0e7ad7cd0f292c", | |
"23a0bf126acbee6a4ae3901092c2dfca5cca8da8", | |
"57661462d745cdbf6f02367ca0a9b6d87cb5a48b", | |
"f920d6e15c4bec76f9e3a837317e2ab48d449ff0", | |
"01cdf23b7dbf95a9410e9eded252037246722bf5", | |
"92f42403caa56c0b128aa58210ddef3fff0d438d", | |
"22dfe0d99ca7dd99d0e5035d0f9e235c39353ff3", | |
"05b7cc49c66123d60454f436a4aed5b4afdd81a2", | |
"47884393403980f62e3abac598b0c341ab63543e", | |
"676d1500eb6c278acca0a6a30e1c2884bc9ba4eb", | |
"5c45d85f77d5fee8c9f0cc9788b6a4c3d4ecb464", | |
"de97ca90dd2d739b5d07281c057f157bdbce8417", | |
"b93663934e3ece95fbab313a8af0fbb8310e2a5a", | |
"23f958cae6cc285cbfe04711ce96bd9dea8984c2", | |
"a3896b61b30c9f98dc19feff79c89001bc14bb5f", | |
"05d9d5e812059bb8535b1a95ccebaaf6830da826", | |
"02bf9865fdbac9f827778302d185e305923f73e1", | |
] | |
async function fillIt() { | |
let btns; | |
for (let i = 0; i < answers.length; i++) { | |
answers.map(v => document.querySelector(`[value="${v}"]`)).filter(v => !!v)[0].click() | |
await new Promise(r => setTimeout(r, | |
100)) | |
// Yg terakhir, jgn di auto klik, submit manual | |
if (i < (answers.length - 1)) { | |
btns = $('.btn.text-uppercase.font-14.text-bold.btn-light.btn-block') | |
btns[btns.length - 1].click() | |
await new Promise(r => setTimeout(r, | |
500)) | |
} | |
} | |
} | |
fillIt() | |
// https://www.cyberacademy.id/member/kelas/web-penetration-testing/ujian |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment