Skip to content

Instantly share code, notes, and snippets.

View Alien-nick's full-sized avatar
🔭
Exploring the stars at night.

Nicholas Seetaram Alien-nick

🔭
Exploring the stars at night.
View GitHub Profile
@Alien-nick
Alien-nick / dorks.txt
Created January 3, 2022 13:03
Google Dorks for Wordpress
Capturing Plugins
site:"site.com" +inurl:"revslider"
@Alien-nick
Alien-nick / logIPAddress.sh
Created February 14, 2021 14:56
This script is meant to capture IP Addresses that is connecting to your webserver and notify you via Slack channels.
#!/bin/bash
tail -n0 -F "$1" | while read LINE; do
(echo "$LINE" | grep -e "$3") && curl -X POST --silent --data-urlencode \
"payload={\"text\": \"$(echo $LINE | sed "s/\"/'/g")\"}" "$2";
done
## Example usage ./logIPAddress.sh "<logfile>" "https://hooks.slack.com/services/...";
@Alien-nick
Alien-nick / Recount.sql
Last active June 7, 2020 01:26
This script will parse Guyana Result API to get the recount data
DECLARE
l_request_result CLOB;
l_anug_total_votes VARCHAR2(25);
l_apnu_total_votes VARCHAR2(25);
l_cg_total_votes VARCHAR2(25);
l_ljp_total_votes VARCHAR2(25);
l_ppp_total_votes VARCHAR2(25);
l_prp_total_votes VARCHAR2(25);
l_tci_total_votes VARCHAR2(25);
l_tnm_total_votes VARCHAR2(25);