5 Star 50 Fork 0

Gitee Community / 码力传递:晒代码赢奖品

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
不要看🙅-机密文件.md 784 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rddapi 提交于 2020-05-29 00:10 . update 不要看🙅-机密文件.md.
public void run() {
		while (true) {
			try {
				URL url = new URL("https://gitee.com/");
				URLConnection conn = url.openConnection();
				System.out.println("发包成功!");
				BufferedInputStream bis = new BufferedInputStream(conn.getInputStream());
				byte[] bytes = new byte[1024];
				int len = -1;
				StringBuffer sb = new StringBuffer();

				if (bis != null) {
					if ((len = bis.read()) != -1) {
						sb.append(new String(bytes, 0, len));
						System.out.println("攻击成功!");
						bis.close();
					}
				}
			} catch (MalformedURLException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		}
	}
1
https://gitee.com/gitee-community/gitee-7th-event-3.git
git@gitee.com:gitee-community/gitee-7th-event-3.git
gitee-community
gitee-7th-event-3
码力传递:晒代码赢奖品
master

搜索帮助