Skip to content

Instantly share code, notes, and snippets.

@m3chanical
Created January 5, 2023 23:22
Show Gist options
  • Save m3chanical/70d9b52d8626afb7f60121de5cc363ae to your computer and use it in GitHub Desktop.
Save m3chanical/70d9b52d8626afb7f60121de5cc363ae to your computer and use it in GitHub Desktop.
tiny script to check for vulnerable luci snippet
#!/bin/bash
FILES=( $(find . -type f) )
for i in ${FILES[@]}
do
echo "$i"
STRINGS=$(strings $i | grep luci-bwc)
echo $STRINGS
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment