Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in 1_Pcap2Session.ps1 #10

Open
omeshF opened this issue Feb 17, 2021 · 2 comments
Open

Error in 1_Pcap2Session.ps1 #10

omeshF opened this issue Feb 17, 2021 · 2 comments

Comments

@omeshF
Copy link

omeshF commented Feb 17, 2021

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

@omeshF omeshF changed the title The module '0_Tool' could not be loaded Error in 1_Pcap2Session.ps1 Feb 17, 2021
@xiongruoting
Copy link

.\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
Copy link

.\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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants