nali-cli icon indicating copy to clipboard operation
nali-cli copied to clipboard

Potential IP truncation and the IP will not be recognized

Open cubercsl opened this issue 2 years ago • 0 comments

tr -dc A-Za-z0-9 </dev/urandom | head -c 65533  > a.txt
echo "" >> a.txt
echo 1.2.3.4 >> a.txt
echo 5.6.7.8 >> a.txt

cat a.txt | ./nali 

  • Actual behavior
......... print something random .........
rgbMQVgO2S3ZsVLPVO2o6gTK9vZITdQkGfmwYp9b3vGEyeqpGXlwG2XKJYh4GH9mRnNro2qA5qIxMV99NRf
1.2.3.4
5.6.7.8 [德国]
  • Expected behavior
......... print something random .........
rgbMQVgO2S3ZsVLPVO2o6gTK9vZITdQkGfmwYp9b3vGEyeqpGXlwG2XKJYh4GH9mRnNro2qA5qIxMV99NRf
1.2.3.4 [澳大利亚 APNIC Debogon-prefix 网络]
5.6.7.8 [德国]

An IP to be split into two processing so that it cannot be identified.

This is found in the https://github.com/zu1k/nali/issues/134

cubercsl avatar Aug 16 '22 07:08 cubercsl