View Issue Details

IDProjectCategoryView StatusLast Update
0007631Kali LinuxGeneral Bugpublic2025-07-14 09:18
Reporterprettya1 Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Product Version2022.1 
Summary0007631: generic_send_tcp cannt' work on kali/2.9-1kali8
Description

When I use generic_send_tcp, I always get './generic_send_tcp: undefined symbol: s_string',
I also read https://bugs.kali.org/view.php?id=7043 and said that the kali/2.9-1kali8 version has solved this problem, but I tested it without success.

==== HOST INFO BEGIN ====

root@myruby:~/spike.git/src# hostnamectl
Static hostname: myruby
Icon name: computer-vm
Chassis: vm
Machine ID: 6c57c5b7f5e948ebbf20af602a9b81f1
Boot ID: 3cbe0fcfd85c45eeb3a9b7e74fa9afd9
Virtualization: vmware
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-8-amd64
Architecture: x86-64
root@myruby:~/spike.git/src#
root@myruby:~/spike.git/src#
root@myruby:~/spike.git/src# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs - -enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=- 10 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix - -libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi= new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target -system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 ,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx /usr,amdgcn-a mdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux- gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)

==== HOST INFO END ====

Steps To Reproduce

root@myruby:~/spike.git/src# git checkout -b kali/2.9-1kali8 kali/2.9-1kali8
switch to a new branch 'kali/2.9-1kali8'
root@myruby:~/spike.git/src# git br
*kali/2.9-1kali8
kali/master

root@myruby:~/spike.git/src# cat v.spk
s_string("QUES");

s_binary_block_size_word_bigendian_variable("data1")
s_block_start("data1");
s_string_variable("aaaa");
s_block_end("data1");

s_string("END");
s_binary("0a");

root@myruby:~/spike.git/src# ./generic_send_tcp 169.254.19.249 9999 v.spk 0 0
Total Number of Strings is 681
Fuzzing
Fuzzing Variable 0:0
./generic_send_tcp: undefined symbol: s_string

Attached Files

Activities

daniruiz

daniruiz

2022-03-17 06:42

manager   ~0015897

Why are you using the tool downloaded from git and not the installed package via apt? I've tested it and it seems to be working fine

image.png (1,682,742 bytes)
prettya1

prettya1

2022-03-17 06:45

reporter   ~0015898

Because I want to install spike on a non-kali linux, I use git to download and install. instead of apt install.

daniruiz

daniruiz

2022-03-17 06:47

manager   ~0015899

Then you need to report the issue to the original maintainer, not to Kali.
Sorry, I'm closing this

Issue History

Date Modified Username Field Change
2022-03-17 01:09 prettya1 New Issue
2022-03-17 06:42 daniruiz File Added: image.png
2022-03-17 06:42 daniruiz Note Added: 0015897
2022-03-17 06:45 prettya1 Note Added: 0015898
2022-03-17 06:47 daniruiz Note Added: 0015899
2022-03-17 06:47 daniruiz Assigned To => daniruiz
2022-03-17 06:47 daniruiz Status new => closed
2022-03-17 06:47 daniruiz Resolution open => suspended
2025-07-14 09:18 g0tmi1k Priority low => normal