-
c7f15487 :Anonymous
2011-12-29 13:45
-
秘密でゴソゴソ
#!/usr/bin/ruby
require 'net/http'
http = Net::HTTP.new('bilivideo.com')
# SPAM
res = http.post('/admin.cgi', 'cmd=fdel&file=thread_5350414D')
s = res.body.scan(/^<input.*sid.*value=\"([a-z0-9]+)/)
res = http.post('/admin.cgi', "cmd=xfdel&sid=#{s}&file=thread_5350414D")
# 自作PC
res = http.post('/admin.cgi', 'cmd=fdel&file=thread_E887AAE4BD9C5043')
s = res.body.scan(/^<input.*sid.*value=\"([a-z0-9]+)/)
res = http.post('/admin.cgi', "cmd=xfdel&sid=#{s}&file=thread_E887AAE4BD9C5043")
# 雑談しながらリンクを貼るスレ
res = http.post('/admin.cgi', 'cmd=fdel&file=thread_E99B91E8AB87E38197E381AAE3818CE38289E383AAE383B3E382AFE38292E8B2BCE3828BE382B9E383AC')
s = res.body.scan(/^<input.*sid.*value=\"([a-z0-9]+)/)
res = http.post('/admin.cgi', "cmd=xfdel&sid=#{s}&file=thread_E99B91E8AB87E38197E381AAE3818CE38289E383AAE383B3E382AFE38292E8B2BCE3828BE382B9E383AC")
さて、どうするかな…
Powered by shinGETsu.