上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 来自 : http://blog.csdn.net/luckyzhoustar/article/details/50402427 /** * @FileName: ByteToObject.java * @Package:com.test * @Description: TODO * @author 阅读全文
posted @ 2017-04-23 10:37 范世强 阅读(6904) 评论(0) 推荐(0) 编辑
摘要: URL url = getClass().getResource("SaikeScanClient.fxml");System.out.println(url);输出:file:/D:/myProject/saikescan/target/classes/saikeScan/client/Saike 阅读全文
posted @ 2017-04-22 23:08 范世强 阅读(853) 评论(0) 推荐(0) 编辑
摘要: 下载:codeblocks 只有几十兆。 http://www.codeblocks.org/downloads/26#windows codeblocks-16.01mingw-nosetup.zip 此版本自带了gcc,直接解压运行即可进行开发。 eclipse也可以进行 c、c++开发,但需要 阅读全文
posted @ 2017-04-22 18:13 范世强 阅读(6361) 评论(0) 推荐(1) 编辑
摘要: @FXMLprivate void savaconfig(ActionEvent event) { try { Properties prop = new Properties(); FileWriter fw = new FileWriter("conf" + File.separator + " 阅读全文
posted @ 2017-04-16 22:43 范世强 阅读(237) 评论(0) 推荐(0) 编辑
摘要: new Alert(Alert.AlertType.NONE, "xxx不存在", new ButtonType[]{ButtonType.CLOSE}).show(); 阅读全文
posted @ 2017-04-16 22:32 范世强 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: Date as = new Date(new Date().getTime()-24*60*60*1000);SimpleDateFormat matter1 = new SimpleDateFormat("yyyyMMdd");String time = matter1.format(as);Sy 阅读全文
posted @ 2017-04-13 09:21 范世强 阅读(187) 评论(0) 推荐(0) 编辑
摘要: try { private Properties prop = new Properties(); FileReader fr = new FileReader("conf" + File.separator + "config.properties"); BufferedReader br = n 阅读全文
posted @ 2017-04-13 09:17 范世强 阅读(272) 评论(0) 推荐(0) 编辑
摘要: stage.setMaximized(true); 阅读全文
posted @ 2017-04-13 09:03 范世强 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 测试任意文件读取漏洞是需要在url中加上 ../../ 之类的字符,但是如果使用三方库Apache httpclient或okhttp,他们都会自动删除url中的 ../ ,通过修改okhttp的源码可以防止此删除,具体修改如下 修改 HttpUrl.Builder 类的 push方法,注释如下代码 阅读全文
posted @ 2017-03-14 16:52 范世强 阅读(669) 评论(0) 推荐(0) 编辑
摘要: HttpGet httpGet = new HttpGet(url);SSLContext sslcontext = SSLContexts.custom().loadTrustMaterial(new MyTrustStrategy()).build(); RequestConfig reques 阅读全文
posted @ 2016-09-18 23:50 范世强 阅读(679) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页