Skip to content

Instantly share code, notes, and snippets.

View seadog007's full-sized avatar
:octocat:

尤理衡 (Li-Heng Yu) seadog007

:octocat:
View GitHub Profile
alert('hello ' + document.location.href);
@seadog007
seadog007 / hitcon_zeroday_publish_channel_notification.sh
Last active July 21, 2017 06:16
HITCON ZeroDay publish notification to Telegram channel
#!/bin/bash
token='token_only'
disable_preview='True'
for i in `seq 1 10`
do
curl -s https://zeroday.hitcon.org/vulnerability/disclosed/page/$i | grep vu-l-data-titl | tr -d $'\t' | \
while read line
do
link=`echo $line | grep -oP '<a\ href="\K.*(?=")'`
title=`echo $line | grep -oP '<a.*">\K.*(?=</a)'`