In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what to do when running Sniffjoke under Kali Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what to do when running Sniffjoke under Kali Linux".
The solution to the error of running Sniffjoke under Kali Linux
Due to the problems such as the update of Kali Linux version and the long time of Sniffjoke release, there are various problems in running Sniffjoke in the new version of Kali Linux. Let's explain the solution in turn.
First problem: starting with Kali Linux 2016.1, the output format of the ifconfig command has changed, causing Sniffjoke to fail to obtain the network interface correctly. As Sniffjoke does not provide interface-related options, and the software is written by C++, users need to modify the source code and recompile.
(1) go to the Kali Linux official website http://http.kali.org/pool/main/s/sniffjoke/ and download the source package sniffjoke_0.4.1.orig.tar.gz of the software.
(2) decompress the package, then modify the srcrvice/UserConf.cc file in it, and modify the original line 190 as follows:
Snprintf (cmd, MEDIUMBUF, "ifconfig% s | grep\" inet\ "| cut-b 14-| awk'{print $1}'"
(3) Save the file.
(4) install cmake tools in Kali Linux.
Apt-get install cmake
(5) go to the source folder, execute the following command, compile and install Sniffjoke.
Mkdir build
Cd build
Cmake..
Make
Sudo-s
Make install
The second problem: due to the Sniffjoke-auto command to visit the software author's official website http://www.delirandom.net/ to check the network connection mode. However, the site is not accessible at this time, so the profile cannot be established. The solution is as follows:
(1) set up a PHP website on the public network and upload the conf/sjA/pe.php files in the source folder to the website.
(2) when executing the sniffjoke-auto command, add the following two options:
-s http://PHP website / pe.php
-an IP address of the PHP website
PS: when executing sniffjoke, it is recommended to add the-- foreground option so that you can see the error prompt and troubleshoot the error.
At this point, I believe you have a deeper understanding of "what to do when running Sniffjoke under Kali Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.