美文网首页
powershell 学习笔记

powershell 学习笔记

作者: A403 | 来源:发表于2020-11-24 21:30 被阅读0次

powershell 配置sqlmap

New-Item -Type file -Force $profile

cd .\Documents\PowerShell\

notepad.exe .\Microsoft.PowerShell_profile.ps1

function sqlmapFun{

    python F:\pentest\sqlmap\sqlmap.py @Args

}

Set-Alias sqlmap sqlmapFun

powershell配置代理

$Env:http_proxy="http://127.0.0.1:7890";$Env:https_proxy="http://127.0.0.1:7890"

$Env相关知识

dir env:

PS D:\Documents\PowerShell> $env:http_proxy

http://127.0.0.1:7890

PS D:\Documents\PowerShell> $env:https_proxy

http://127.0.0.1:7890

相关文章

网友评论

      本文标题:powershell 学习笔记

      本文链接:https://www.haomeiwen.com/subject/alvwiktx.html