niklasb / libc-database

Build a database of libc offsets to simplify exploitation
https://libc.rip/
MIT License
1.71k stars 192 forks source link

'./get all' Command got wrong #71

Open Zrzzzz opened 3 weeks ago

Zrzzzz commented 3 weeks ago
Getting RPM package location: rpm musl musl i586
Retrying...
Retrying...
Retrying...
Failed to get RPM package URL for rpm musl musl i586
Getting RPM package location: rpm musl musl i686
Retrying...
Retrying...
Retrying...
Failed to get RPM package URL for rpm musl musl i686
Downloading/updating centos
Getting package glibc locations
Retrying...

gzip: stdin: unexpected end of file
Retrying...
Retrying...
Failed to get package version

I believe the website structure changed. So may be common/libc.sh should update

peace-maker commented 3 weeks ago

https://rpmfind.net/linux/rpm2html/search.php?query=musl the i586 and i686 architectures aren't packaged anymore? Maybe switch to musl-libc instead? There are i686 packages. https://rpmfind.net/linux/rpm2html/search.php?query=musl*

peace-maker commented 3 weeks ago

Most musl-libc packages only contain the ld.so though

Zrzzzz commented 3 weeks ago

OK thanks, but centos also got error?

 ./get centos                                                     
Will download or update for:
/usr/bin/rpm2cpio
        * centos ; Requirements are met
Downloading/updating centos
Getting package glibc locations
Retrying...
Retrying...
Retrying...
Failed to get package version
whh4git commented 1 week ago

OK thanks, but centos also got error?好的,谢谢,但 centos 也遇到了错误?

 ./get centos                                                     
Will download or update for:
/usr/bin/rpm2cpio
        * centos ; Requirements are met
Downloading/updating centos
Getting package glibc locations
Retrying...
Retrying...
Retrying...
Failed to get package version

In the "get" file, replace "http://mirror.centos.org/centos/" to "https://vault.centos.org/", or other mirrors.

peace-maker commented 1 week ago

Can you propose a pull request please?