dos

常见的网络攻击

白昼怎懂夜的黑 提交于 2020-01-19 01:11:24
DDOS攻击 DOS攻击不是说攻击DOS系统,或者通过DOS系统攻击。DOS攻击全称为Denial of service,即拒绝服务,其主要攻击目的是使计算机硬件或网络宽带资源耗尽从而造成服务器无法提供正常服务,而DDOS攻击就是Distributed denial of service,即分布式的拒绝服务攻击,攻击者利用多台服务器资源对同一个目标服务器发起攻击,从而使目的服务器快速陷入崩溃。 不管是DOS还是DDOS,它们的本质都是通过各种手段消耗目标服务器资源,从而使目标服务器瘫痪不能接受用户的服务。一般租用像阿里云或者其他的服务器资源都是有web应用防火墙能阻止dos攻击的,如果是自己的服务器需要专业的运维人员对服务器进行相关设置以防止DOS攻击。 DNS攻击 DNS攻击包括有DNS劫持和DNS污染。DNS劫持即通过某种手段控制DNS服务器,篡改域名真实的解析结果,并返回攻击者的ip地址,从而跳到了攻击者的页面。像我们宽带快到期了或者有什么推广信息,电信总会弹出一个营销界面提示我们宽带快到期了或者什么活动的,这其实就是运营商DN劫持搞的鬼。像在我们本地,也经常会配置host文件以开发测试联调,或者访问那些访问不了你又想访问的网址。 防止DNS劫持可以用国外知名的DNS服务器,像google的8.8.8.8,或者准备两个域名,一个被劫持了引导用户去访问另一个

本人工作中常用的dos命令(通常是弄成bat结合window计划执行)

为君一笑 提交于 2020-01-17 14:10:38
1,删除某个目录下若干天前的txt文件 forfiles /p "E:\接口数据\BossIAP" /s /m *.txt /d -60 /c "cmd /c del @path" 2,下载ftp上的文件 echo open 10.23.211.2>10年老客户业务办理数据.txt echo admin>>10年老客户业务办理数据.txt echo zsubsc09>>10年老客户业务办理数据.txt echo cd http://www.cnblogs.com/data/tmp/mzxiongfuquan/fixdata/>>10年老客户业务办理数据.txt echo lcd E:\接口数据\BossIAP\fixdata>>10年老客户业务办理数据.txt echo get priv_TenYearCustomer%date:~2,2%%date:~5,2%%date:~8,2%.txt>>10年老客户业务办理数据.txt echo get incre_reception_RollBack%date:~2,2%%date:~5,2%%date:~8,2%.txt>>10年老客户业务办理数据.txt echo close >>10年老客户业务办理数据.txt echo bye >>10年老客户业务办理数据.txt ftp -s:10年老客户业务办理数据.txt 3

How to get around a 'by design' issue with Windows dir?

只愿长相守 提交于 2020-01-17 12:31:32
问题 dir /b produces a nice file-only list dir /x produces a detailed listing (date, time, size, longname, shortname) However, if you combine the two (i. e. dir /b /x) the /x switch gets ignored. this behavior as per this page is by design. So if you ask for a simple list containing only of shortnames of files, Redmond (Microsoft) says it is against the rules of heaven to give it to you. How could one get around this 'by design' issue? many thanks in advance p.s. this is to help me achieve

Stop batch file only processing last file?

允我心安 提交于 2020-01-17 09:33:21
问题 I have the following simple batch file for renaming *.txt files and removing the first x characters @Echo Off for %%i in ("*.txt") do ( set fname=%%i echo %fname% copy %fname% %fname:~9% ) However, it only processes the last file? If I have 4 files in there, the last file gets copied 4 times as well? What do I need to do? 回答1: The problem is that %var% is replaced by the variable's value when the loop is first parsed, and doesn't change during execution. Here's a demonstration which should

Problems with BIOS delay function (INT 15h / AH = 86h)

狂风中的少年 提交于 2020-01-17 05:46:20
问题 I began studying assembly this year in my school, and we just started learning about pixels. Our teacher gave us some code and told us to mess around with it, he also told us to try and implement delay in the code(ah=86h|int 15h), but when i tried to use it the location and colors of some pixels got changed, and i don't understand why code: (just a piece of the code, there is some more there also get's ruined after the delay) mov cx, 20 add [y], 2 mov dx, [y] paint1RowOf10: mov bh, 0h mov bx,

WEB安全测试实战训练

[亡魂溺海] 提交于 2020-01-17 03:05:14
WEB安全测试实战训练课程: 一、常见WEB安全漏洞 1、黑客技术分析 2、常用黑客工具介绍 3、WEB常见攻击方式 二、WEB安全漏洞检测 1、HTTP安全测试 2、URL查询字符串篡改、POST数据篡改、Cookie篡改、HTTP头篡改 3、HTTP安全漏洞检查、常用工具、案例分析 4、跨站脚本攻击(XSS)方法、XSS原理剖析 5、XSS攻防演练、案例分析 6、XSS漏洞检查方法、工具、代码审查 7、XSS造成的安全后果、如何预防XSS 8、隐藏表单字段漏洞、案例分析 9、隐藏表单字段漏洞检查方法、工具、代码审查 10、DoS攻击、DoS原理 11、DoS攻防演练、案例分析 12、DoS攻击检查 13、如何预防DoS攻击 14、SQL注入攻击方法、SQL注入原理 15、SQL注入攻防演练、案例分析 16、SQL注入检查方法、工具、代码审查 17、SQL注入造成的安全后果、如何预防SQL注入 18、命令注入漏洞、攻击方法、案例分析 19、通过代码审查检测命令注入漏洞 20、XML安全漏洞 21、XPath注入、XML炸弹、XXE攻击、案例分析 22、信息泄漏 23、Forceful browsing、暴露过多的信息、案例分析 24、如何避免信息泄漏问题、代码审查 三、软件安全研发过程 1、软件安全研发过程、安全建模、安全建模工具的应用 2、编写安全的代码 3、软件安全测试方法

通过dos批处理命令,实现系统环境切换

穿精又带淫゛_ 提交于 2020-01-17 01:53:26
技术 dos mysql 场景描述: 应用系统可以根据数据库配置参数,决定当前模式是正式环境还是测试环境; 因应用服务前台未提供配置功能,每次切换时,需要使用mysql工具连接数据库,然后修改数据库配置。 问题描述 由于需要频繁切换正式与测试环境,通过mysql工具修改数据库配置参数较为繁琐; 解决办法 本文讲解如何使用dos批处理命令,实现系统环境的切换。 操作步骤 1、相关文件 系统配置表.sql /* 系统配置表 */ create table sys_config ( cfg_id int , /*主键*/ cfg_name varchar ( 20 ) , /*配置名称*/ cfg_notes varchar ( 50 ) , /*配置描述信息*/ cfg_value varchar ( 20 ) , /*配置值*/ constraint pk_sys_config primary key ( cfg_id ) ) ; -- 写入数据 insert into sys_config ( cfg_id , cfg_name , cfg_notes , cfg_value ) values ( 1 , 'env_opt' , '系统环境(1:正式,2:测试)' , '1' ) ; -- 查询数据 select * from sys_config ; 正式环境.sql --

DOS command to format string to hex value

若如初见. 提交于 2020-01-16 13:19:08
问题 Is it possible to format a string to a hex value using DOS command? I'm trying to pass a hex value to my program from command line but it takes that complete value a a string and not as hex value? 回答1: Forget about Peak Oil, what about Peak DOS? It's time to look to the future. And the future is PowerShell . PS > "{0:x4}" -f ([int]"999") 03e7 回答2: I'm not sure about a DOS command, but you can use Windows Calculator to do this... Just put it into Scientific Mode (the View menu), then put it

Converting Binary to Octal Assembly Lang

纵饮孤独 提交于 2020-01-16 03:52:07
问题 First post, please be gentle. I was tasked with taking a binary number, converting it into an octal number, and displaying said octal number. I was given the code included below for reference, which converts to hex, but I cannot for the life of me find any documentation on how to convert from binary to octal. My peers are stumped as well, and any help or incite would be graciously appreciated. Thank You! ; program to do octal input and output org 100h section .data prompt1: db "Please enter a

Converting Binary to Octal Assembly Lang

巧了我就是萌 提交于 2020-01-16 03:52:07
问题 First post, please be gentle. I was tasked with taking a binary number, converting it into an octal number, and displaying said octal number. I was given the code included below for reference, which converts to hex, but I cannot for the life of me find any documentation on how to convert from binary to octal. My peers are stumped as well, and any help or incite would be graciously appreciated. Thank You! ; program to do octal input and output org 100h section .data prompt1: db "Please enter a