i Spring Chess

This is a very interesting a question, after opening is a pve chess game, I think the next win should occur Flag , but after several attempts failed (really a bit much, I play on a whim several to, Available to try to get a more powerful computer with him to the next, what happens if the win)

Do not say chess game, and we do this question, first of all is to win impossible to get through the flag , he will automatically challenge the master level, novice though I chose. . . . (I dish)

 

 

 

Let another computer master and his next, finally won (full read), but still did not Flag . . .

View source found js there are key elements

 

 

 

Here are the file js / barabara, so obviously this is a regular expression, Baidu Portal:

https://baike.baidu.com/item/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F/1700215?fr=aladdin

Here attach a py script blasting regular expression (Source link: https://www.ichunqiu.com/writeup/detail/781 )

 

#!/usr/bin/python
# coding=utf-8
# Author=haya
import urllib2
from multiprocessing.dummy import Pool as ThreadPool
urllist = []
re1 = 'myx'
re2 = '012346789'
url = 'http://fffe6af593794c94834b881524ab1aa9f63ccb660b0648a2.changame.ichunqiu.com/js/'
pool = ThreadPool()
def url_list():
for i in re1:
for j in re1:
for k in re2:
for l in re2:
for m in re2:
urllist.append(url+i+j+'ctf'+k+l+m+'.js')
return urllist

def url_open(url):
try:
result = urllib2.urlopen(url).read()
if '404' not in result:
print url+result
except:
pass

def main():
urllist = url_list()
pool.map(url_open, urllist)
pool.close()
pool.join()

if __name__ == '__main__':
main()

 

  

You can run a blasting js file is the flag

 

Guess you like

Origin www.cnblogs.com/wosun/p/11462228.html