Skip to content

Instantly share code, notes, and snippets.

View mib1185's full-sized avatar
🤨
o.O

Michael mib1185

🤨
o.O
  • Germany, Dresden
  • 03:38 (UTC +02:00)
View GitHub Profile
@mib1185
mib1185 / synoautoblock2file.sh
Last active October 2, 2022 06:38
Synology DSM - export blocked ip addresses into a plain text file
outfile="<<full path to output file>>";/bin/sqlite3 /etc/synoautoblock.db 'select IP from AutoBlockIP WHERE 'deny' is 1;' > $outfile ; echo >> $outfile ; chown :users $outfile