powershell 学习笔记

2020-11-24  本文已影响0人  A403

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

上一篇 下一篇

猜你喜欢

热点阅读