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

Encrypted AES Key - missing #5

Closed
15w34r0n3D4y opened this issue Dec 14, 2015 · 10 comments
Closed

Encrypted AES Key - missing #5

15w34r0n3D4y opened this issue Dec 14, 2015 · 10 comments

Comments

@15w34r0n3D4y
Copy link

Hello.

I tested this tool files locked works, get info:
PC Name, Username, Private Key
but NOT Encrypted AES Key and when click on Decipher nothing happend.

How fix it? Something wrong in SQL database maybe? Thank you for answer.

@15w34r0n3D4y
Copy link
Author

"You need to have a web server which runs Php and Mysql"

which version PHP and MySQL?

@utkusen
Copy link
Owner

utkusen commented Dec 15, 2015

latest versions works fine

@15w34r0n3D4y
Copy link
Author

But get error "RSA" "Modulus" ... on older this error not showing but no Encrypted AES Key...

@NexusFuzzy
Copy link

Same here.

$rsa->decrypt(base64_decode($ciphertext))

returns an empty string.

@NexusFuzzy
Copy link

Got it running the error was on my side. In my case the field "privatekey" in my database was too short and the string got truncated. After resizing the column (in my case 2048) it worked like a charme

@15w34r0n3D4y
Copy link
Author

Varchar (2048) or LongText both works for "privatekey" but what about "AES Key" works too? And are you edit something or not?

@NexusFuzzy
Copy link

See my columns here:

id; int (auto_increment)
pcname; varchar(300)
aesencrypted: varchar(1024)
username: varchar(256)
privatekey: varchar(2048)

Maybe they could be smaller but idk as long as it works

@15w34r0n3D4y
Copy link
Author

👍 thank you it works now. ✌️

@DataDrug
Copy link

@hariomenkel @15w34r0n3D4y I'm trying this for a proof of concept project, however after compiling I get the RSA MODULUS error, how have you fixed it ?

Thanks.

@Gembeltz
Copy link

i need file .sql for connect to sql server ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants