This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.dsavitski.vulnerable.controllers; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.web.bind.annotation.RequestMapping; | |
| import org.springframework.web.bind.annotation.RequestMethod; | |
| import org.springframework.web.bind.annotation.ResponseBody; | |
| import javax.servlet.AsyncContext; | |
| import javax.servlet.ServletInputStream; | |
| import javax.servlet.ServletOutputStream; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8-*- | |
| __author__ = 'Aaron' | |
| import sys | |
| reload(sys) #要reload一次sys才能使用setdefaultencoding函數 | |
| sys.setdefaultencoding('utf-8') #要將系統默認字符編碼設置為utf-8,在Goldendict才能正常輸出 | |
| import os | |
| import mechanize | |
| from bs4 import BeautifulSoup |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.