This repository was archived by the owner on Aug 13, 2024. It is now read-only.
Fixed compilation error for /brute_force/www_brute#23
Open
devrim-oguz wants to merge 1 commit intotenable:masterfrom
devrim-oguz:patch-1
Open
Fixed compilation error for /brute_force/www_brute#23devrim-oguz wants to merge 1 commit intotenable:masterfrom devrim-oguz:patch-1
devrim-oguz wants to merge 1 commit intotenable:masterfrom
devrim-oguz:patch-1
Conversation
Compiling the files according to the guidelines gives rise to the error on Ubuntu 20.04 (x64) 5.4.0-29-generic: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) [ 11%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o [ 22%] Linking CXX executable www_bruteforce /usr/bin/ld: CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o: in function `JSProxySession::JSProxySession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp:319: undefined reference to `curve25519_donna(unsigned char*, unsigned char const*, unsigned char const*)' /usr/bin/ld: CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o: in function `JSProxySession::doPublicKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)': /home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp:408: undefined reference to `curve25519_donna(unsigned char*, unsigned char const*, unsigned char const*)' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/www_bruteforce.dir/build.make:192: www_bruteforce] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/www_bruteforce.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 After the fix: [ 11%] Building CXX object CMakeFiles/www_bruteforce.dir/src/main.cpp.o [ 22%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o [ 33%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/session.cpp.o [ 44%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/sha1.cpp.o [ 55%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/md4.cpp.o [ 66%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/rc4.cpp.o [ 77%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/des.cpp.o [ 88%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/winbox_message.cpp.o [100%] Linking CXX executable www_bruteforce [100%] Built target www_bruteforce
Author
|
Some error still persists on runtime, I am unable to fix this problem for the time being. Asking for your help! Example Output: Error receiving or decrypting the challenge: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning: The tool still gives "Bad decrypt!" errors for some reason!
Compiling the files according to the guidelines gives rise to the error on Ubuntu 20.04 (x64) 5.4.0-29-generic:
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
[ 11%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o
[ 22%] Linking CXX executable www_bruteforce
/usr/bin/ld: CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o: in function
JSProxySession::JSProxySession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp:319: undefined reference tocurve25519_donna(unsigned char*, unsigned char const*, unsigned char const*)'/usr/bin/ld: CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o: in function
JSProxySession::doPublicKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)': /home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp:408: undefined reference tocurve25519_donna(unsigned char*, unsigned char const*, unsigned char const*)'collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/www_bruteforce.dir/build.make:192: www_bruteforce] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/www_bruteforce.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
After the fix:
[ 11%] Building CXX object CMakeFiles/www_bruteforce.dir/src/main.cpp.o
[ 22%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/jsproxy_session.cpp.o
[ 33%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/session.cpp.o
[ 44%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/sha1.cpp.o
[ 55%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/md4.cpp.o
[ 66%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/rc4.cpp.o
[ 77%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/des.cpp.o
[ 88%] Building CXX object CMakeFiles/www_bruteforce.dir/home/adonizer/Downloads/routeros-master/common/winbox_message.cpp.o
[100%] Linking CXX executable www_bruteforce
[100%] Built target www_bruteforce