|
|
I installed amass from Kali repositories along with its dependencies:
amass 5.0.1-0kali4
libpostal1 1.1.4-0kali1
libpostal-data 1.1.4-0kali1
When running:
amass -h
Amass starts but reports libpostal initialization errors:
ERR Could not find parser model file of known type
at address_parser_load (address_parser.c:215)
ERR Error loading address parser module
at libpostal_setup_parser_datadir (libpostal.c:447) |
|
|
I can't reproduce. Just tried in a clean Kali VM, up-to-date.
$ sudo apt update && sudo apt install -y amass
[sudo] password for kali:
Get:1 http://mirror.aktkn.sg/kali kali-rolling InRelease [34.0 kB]
Get:2 http://mirror.aktkn.sg/kali kali-rolling/main amd64 Packages [21.4 MB]
Get:3 http://mirror.aktkn.sg/kali kali-rolling/main amd64 Contents (deb) [53.6 MB]
Get:4 http://mirror.aktkn.sg/kali kali-rolling/contrib amd64 Packages [104 kB]
Get:5 http://mirror.aktkn.sg/kali kali-rolling/contrib amd64 Contents (deb) [189 kB]
Get:6 http://mirror.aktkn.sg/kali kali-rolling/non-free amd64 Packages [169 kB]
Get:7 http://mirror.aktkn.sg/kali kali-rolling/non-free amd64 Contents (deb) [887 kB]
Get:8 http://mirror.aktkn.sg/kali kali-rolling/non-free-firmware amd64 Packages [15.4 kB]
Get:9 http://mirror.aktkn.sg/kali kali-rolling/non-free-firmware amd64 Contents (deb) [40.1 kB]
Fetched 76.4 MB in 17s (4,616 kB/s)
31 packages can be upgraded. Run 'apt list --upgradable' to see them.
Installing:
amass
Installing dependencies:
libpostal-data
Suggested packages:
postgresql
Summary:
Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 31
Download size: 12.4 MB
Space needed: 53.1 MB / 74.1 GB available
Get:1 http://kali.download/kali kali-rolling/main amd64 libpostal-data all 1.1.4-0kali1 [5,360 B]
Get:2 http://kali.download/kali kali-rolling/main amd64 amass amd64 5.1.1-0kali3 [12.4 MB]
Fetched 12.4 MB in 1s (10.3 MB/s)
Selecting previously unselected package libpostal-data.
(Reading database\u2026 149232 files and directories currently installed.)
Preparing to unpack \u2026/libpostal-data_1.1.4-0kali1_all.deb\u2026
Unpacking libpostal-data (1.1.4-0kali1)\u2026
Selecting previously unselected package amass.
Preparing to unpack \u2026/amass_5.1.1-0kali3_amd64.deb\u2026
Unpacking amass (5.1.1-0kali3)\u2026
Setting up libpostal-data (1.1.4-0kali1)\u2026
Setting up amass (5.1.1-0kali3)\u2026
Processing triggers for kali-menu (2026.3.2)\u2026
And then:
$ amass -h
[sudo] password for kali:
Checking for new libpostal data file...
New libpostal data file available
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 9.71M 100 9.71M 0 0 8.41M 0 00:01 00:01 0
address_expansions/
address_expansions/address_dictionary.dat
numex/
numex/numex.dat
transliteration/
transliteration/transliteration.dat
Checking for new libpostal parser data file...
New libpostal parser data file available
Downloading multipart: https://github.com/openvenues/libpostal/releases/download/v1.0.0/parser.tar.gz, num_chunks=12
Downloading part 2: filename=/var/lib/libpostal/parser.tar.gz.2, offset=67108864, max=134217727
Downloading part 1: filename=/var/lib/libpostal/parser.tar.gz.1, offset=0, max=67108863
Downloading part 3: filename=/var/lib/libpostal/parser.tar.gz.3, offset=134217728, max=201326591
Downloading part 4: filename=/var/lib/libpostal/parser.tar.gz.4, offset=201326592, max=268435455
Downloading part 6: filename=/var/lib/libpostal/parser.tar.gz.6, offset=335544320, max=402653183
Downloading part 7: filename=/var/lib/libpostal/parser.tar.gz.7, offset=402653184, max=469762047
Downloading part 5: filename=/var/lib/libpostal/parser.tar.gz.5, offset=268435456, max=335544319
Downloading part 8: filename=/var/lib/libpostal/parser.tar.gz.8, offset=469762048, max=536870911
Downloading part 9: filename=/var/lib/libpostal/parser.tar.gz.9, offset=536870912, max=603979775
Downloading part 10: filename=/var/lib/libpostal/parser.tar.gz.10, offset=603979776, max=671088639
Downloading part 11: filename=/var/lib/libpostal/parser.tar.gz.11, offset=671088640, max=738197503
Downloading part 12: filename=/var/lib/libpostal/parser.tar.gz.12, offset=738197504, max=805306367
address_parser/
address_parser/address_parser_crf.dat
address_parser/address_parser_phrases.dat
address_parser/address_parser_postal_codes.dat
address_parser/address_parser_vocab.trie
Checking for new libpostal language classifier data file...
New libpostal language classifier data file available
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 48.00M 100 48.00M 0 0 20.33M 0 00:02 00:02 15.85M
language_classifier/
language_classifier/language_classifier.dat
.+++:. : .+++.
+W@@@@@@8 &+W@# o8W8: +W@@@@@@#. oW@@@W#+
&@#+ .o@##. .@@@[email protected]@@o :@@#&W8o .@#: .:oW+ .@#+++&#&
+@& &@& #@8 +@W@&8@+ :@W. +@8 +@: .@8
8@ @@ 8@o 8@8 WW .@W W@+ .@W. o@#:
WW &@o &@: o@+ o@+ #@. 8@o +W@#+. +W@8:
#@ :@W &@+ &@+ @8 :@o o@o oW@@W+ oW@8
o@+ @@& &@+ &@+ #@ &@. .W@W .+#@& o@W.
WW +@W@8. &@+ :& o@+ #@ :@W&@& &@: .. :@o
:@W: o@# +Wo &@+ :W: +@W&o++o@W. &@& 8@#o+&@W. #@: o@+
:W@@WWWW@@8 + :&W@@@@& &W .o#@@W&. :W@WWW@@&
+o&&&&+. +oooo.
v5.1.1
OWASP Amass Project - @owaspamass
In-depth Attack Surface Mapping and Asset Discovery
Usage: amass [assoc|engine|enum|subs|track|viz] [options]
-h Show the program usage message
-help
Show the program usage message
-version
Print the Amass version number
Subcommands:
assoc Query the OAM along the walk defined by the triples
engine Run the Amass collection engine to populate the OAM database
enum Interface with the engine that performs enumerations
subs Analyze and present discovered subdomains and associated data
track Analyze OAM data to identify newly discovered assets
viz Analyze OAM data to generate graph visualizations |
|
|
Thankyou for your help the issue actually persisted on the older package version that I originally reported. At that time, Amass was unable to detect the installed libpostal dataset and repeatedly prompted to download it, which is why I opened the packaging bug.
On the current package, the requested checks show:
$ ls -l /usr/share/ | grep libpostal
lrwxrwxrwx 1 root root 18 Nov 12 2025 libpostal -> /var/lib/libpostal
$ cat /var/lib/libpostal/*_version
v1.0.0
So the current package appears to have the correct symlink and version file in place, and I can confirm the issue no longer reproduces. It seems the packaging problem has been fixed since the older version. |