#!/bin/bash
a=1 // 变量
cat honeypot | while read line // honeypot为保存文件名的文件,每次读入line
do
cp $line ./unihoneypots/$a".eml" // 拷贝文件
let "a = $a + 1" // 自加1
done
读文件 拷贝文件
最新推荐文章于 2024-11-12 18:35:04 发布
#!/bin/bash
a=1 // 变量
cat honeypot | while read line // honeypot为保存文件名的文件,每次读入line
do
cp $line ./unihoneypots/$a".eml" // 拷贝文件
let "a = $a + 1" // 自加1
done