yungshenglu / USTC-TK2016

Toolkit for processing PCAP file and transform into image of MNIST dataset
Mozilla Public License 2.0
195 stars 59 forks source link

Error in 1_Pcap2Session.ps1 #10

Open omeshF opened 3 years ago

omeshF commented 3 years ago

Hello I hope you are well. I am running the USTC-TK2016 on Ubuntu16. Have cloned the directory and have acquired the pcapng files as well. As I run the pwsh 1_Pcap2Session.ps1, I get an error as follows.

PS > pwsh 1_Pcap2Session.ps1 -p [INFO] Create folder 'AllLayers_Pkts' [INFO] Spliting the PCAP file into each packet editcap: /home/omesh/USTC-TK2016/1_Pcap2Session.ps1:94 Line | 94 | editcap -c 1 $f ./2_Session/AllLayers_Pkts/$($f.BaseName) … | ~~~ | The term 'editcap' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling | of the name, or if a path was included, verify that the path is correct and try again.

[INFO] Removing duplicate files fdupes: /home/omesh/USTC-TK2016/1_Pcap2Session.ps1:105 Line | 105 | fdupes -rdN ./2_Session/AllLayers_Pkts/ | ~~ | The term 'fdupes' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling | of the name, or if a path was included, verify that the path is correct and try again.

If you could kindly assist me with this regard I would deeply appreciate it. Thank you

Best wishes Omesh Anthony

xiongruoting commented 1 year ago

.\1_Pcap2Session.ps1 Error: No files matched '2_Session\AllLayers' No files to process Error: No files matched '2_Session\L7' No files to process

作者你好,请问这个问题能帮忙解答吗? 运行 .\1_Pcap2Session.ps1, 但是找不到两个文件夹, 建了新的空文件夹 也不行。

Muhammadkamrul commented 9 months ago

.\1_Pcap2Session.ps1 Error: No files matched '2_Session\AllLayers' No files to process Error: No files matched '2_Session\L7' No files to process

作者你好,请问这个问题能帮忙解答吗? 运行 .\1_Pcap2Session.ps1, 但是找不到两个文件夹, 建了新的空文件夹 也不行。

Solution: https://codeantenna.com/a/eAH9QevoZf https://codeantenna.com/a/DaLNqiHmjb