#era

Vulnerability Scanning

1、VulnerabilityscanningwithNmapScriptingEngine    theNmapScriptEngineprovideaalrgenumberofscriptthatcaneusedtoperformarangeofautomatedtaskto...
代码星球 代码星球·2020-04-07

Common Vulnerability Scoring System CVSS

1、GeneratingaShellpayloadusingmsfvenom 2、webintrusionTest     infactinthewebsecurity,thewebpentrationtestisonlyontpieceofthepuzzle...

Active information gathering-services enumeration

 1、Summaizethebook Practical WebPenetrationTesting    first nmaptoolsisimportantforgatherinformationofservers  ...

Web Application Vulnerablities

1、Fileinclusion   berfoestartthiscaption imakeaconclusionforinstallthird-partasfollow   InotincludethesequencedecoderandCompa...
代码星球 代码星球·2020-04-07

利用mybatis-generator自动生成代码

mybatis-generator有三种用法:命令行、eclipse插件、maven插件。个人觉得maven插件最方便,可以在eclipse/intellijidea等ide上可以通用。下面是从官网上的截图:(不过官网www.mybatis.org 最近一段时间,好象已经挂了)一、在pom.xml中添加plu...

ToArray()和IEnumerable<T>,List<T>

一:ToArray()在程序中,我们往往习惯使用List<>这种集合类,但是程序中却要求需要传递一个数组,List<>已经为我们提供了toArray()方法二:IEnumerable<T>在MSDN上,是这么说的,它是一个公开枚举数,该枚举数支持在非泛型集合上进行简单的迭代。换句话说...
代码星球 代码星球·2020-04-06

【转】编写高质量代码改善C#程序的157个建议——建议29:区别LINQ查询中的IEnumerable<T>和IQueryable<T>

 建议29:区别LINQ查询中的IEnumerable<T>和IQueryable<T>LINQ查询一共提供了两类扩展方法,在System.Linq命名空间下,有两个静态类:Enumerable类,它针对继承了IEnumerable<T>接口的集合进行扩展;Queryabl...

angularJS1笔记-(13)-自定义指令(controller和controllerAs实现通信)

index.html:<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"></head><body><divng-app="myApp"><divng-controlle...

presentModalViewController与dismissModalViewControllerAnimated的使用和总结(转载--备忘)

(2012-12-2710:57:42)转载▼标签: presentmodalviewcont dismissmodalviewcont ios iphone xcode it分类: 功能代码 在实际开发中,如果要弹出视图:我们常用到pre...

mysql虚拟列(Generated Columns)及JSON字段类型的使用

mysql5.7中有很多新的特性,但平时可能很少用到,这里列举2个实用的功能:虚拟列及json字段类型一、先创建一个测试表:droptableifexistst_people;CREATETABLEt_people(`id`INT(11)NOTNULLAUTO_INCREMENT,`name`varchar(50)NO...

mysql: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '= 的解决

昨天把mysql里所有table的varchar字段的字符集,批量换成了utf8mb4/utf8mb4_unicode_ci,以便能保存一些emoji火星文,结果有一个sql语句执行时,报错如下:Illegalmixofcollations(utf8_unicode_ci,IMPLICIT)and(utf8_gener...

ubuntu下useradd与adduser差别,新建用户不再home文件夹下

useraddusername不会在/home下建立一个目录usernameadduserusername会在/home下建立一个目录usernameuseradd-musername跟adduser一样,能够建立一个目录username...

spring mvc 关键接口 HandlerMapping HandlerAdapter

HandlerMapping Springmvc使用HandlerMapping来找到并保存url请求和处理函数间的mapping关系。   以DefaultAnnotationHandlerMapping为例来具体看HandlerMapping的作用  De...

添加@ControllerAdvice后报错 Failed to invoke @ExceptionHandler method

首先。单独使用ControllerAdvice无法正常工作。需要配合@EnableWebMvc使用。 @ControllerAdvice@EnableWebMvcpulbicclass ExceptionControllerAdvice{   @ExceptionHandler(NotFo...
首页上一页...7778798081...下一页尾页