← back to browse
goat command grade C

getfbstate

No description

0
views
0
likes
0
installs

Aliases: getstate, getcookie

analysis — static scan, nothing executed
0 grade C
Risky — serious capabilities found, review before installing
Security 84
Privacy 69
Quality 80
Maintenance 82
Community 0
high Touches account session data 22×

References appState / cookies / access tokens. Stealing these is the classic way Messenger bot accounts get hijacked.

L12vi: "Lấy fbstate hiện tại",
L13en: "Get current fbstate"
L17en: " {pn}: get fbstate (appState)\n"
L18+ " {pn} [cookies|cookie|c]: get fbstate with cookies format\n"
L19+ " {pn} [string|str|s]: get fbstate with string format\n",
medium Deletes files

Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.

L64}, event.senderID, () => fs.unlinkSync(pathSave));
low Filesystem access

Reads or writes files on the machine running the bot.

L1const fs = require("fs-extra");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
dependencies

fs-extra

checks
Exports a command/module
Handles errors (try/catch or .catch)
Readable, not minified
Has explanatory comments
No deprecated dependencies
Reasonable size (< 200 KB)
raw source — loaded on demand
Loading source…

View raw file · View analysis as JSON