Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Problem uploading a HCCAPX #1033

Open
fdevarennes opened this issue Jan 17, 2024 · 1 comment
Open

[BUG]: Problem uploading a HCCAPX #1033

fdevarennes opened this issue Jan 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fdevarennes
Copy link

Version Information

0.13.1

Hashcat

No response

Description

Hi,

I'm trying to upload a new hashlist in he HCCAPX format. In the webgui i'm using the hashcat file format, i'm selecting HCCAPX. When i upload the file, i get a ERROR 500 in the web interface.

When i go in the logs, i have this in my logs ;

Jan 17 09:49:02 hashtopolisweb php: PHP Warning: Undefined array key 1 in /var/www/hashtopolis/inc/utils/HashlistUtils.class.php on line 944 Jan 17 09:49:02 hashtopolisweb php: PHP Warning: Undefined array key 2 in /var/www/hashtopolis/inc/utils/HashlistUtils.class.php on line 945 Jan 17 09:49:02 hashtopolisweb php: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\x8F\xD9g\xE7\x85\x06...' for column 'essid' at row 1 in /var/www/hashtopolis/dba/AbstractModelFactory.class.php:115 Jan 17 09:49:02 hashtopolisweb php: Stack trace: Jan 17 09:49:02 hashtopolisweb php: #0 /var/www/hashtopolis/dba/AbstractModelFactory.class.php(115): PDOStatement->execute() Jan 17 09:49:02 hashtopolisweb php: #1 /var/www/hashtopolis/dba/models/HashBinaryFactory.class.php(80): DBA\AbstractModelFactory->save() Jan 17 09:49:02 hashtopolisweb php: #2 /var/www/hashtopolis/inc/utils/HashlistUtils.class.php(954): DBA\HashBinaryFactory->save() Jan 17 09:49:02 hashtopolisweb php: #3 /var/www/hashtopolis/inc/handlers/HashlistHandler.class.php(94): HashlistUtils::createHashlist() Jan 17 09:49:02 hashtopolisweb php: #4 /var/www/hashtopolis/hashlists.php(31): HashlistHandler->handle() Jan 17 09:49:02 hashtopolisweb php: #5 {main} Jan 17 09:49:02 hashtopolisweb php: thrown in /var/www/hashtopolis/dba/AbstractModelFactory.class.php on line 115

I checked the my Collation in the database and it's configured like the documentation says.

What would be the problem?

@fdevarennes fdevarennes added the bug Something isn't working label Jan 17, 2024
@s3inlc
Copy link
Member

s3inlc commented Feb 17, 2024

Most likely this is an issue with parsing the HCCAPX format, unsure if it is an issue with the file itself or a special case not covered by Hashtopolis.
The HCCAPX format is deprecated, it is recommended to use the new WPA hash format which is in ASCII. Due to this deprecation in the foreseeable future, binary hashes and the special HCCAPX case will likely be removed from Hashtopolis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants