-
📚 Educational Material - WhiteHat Hacking
-
📫 How to reach me - [email protected]
Chromepass - Hacking Chrome Saved Passwords
License: GNU Affero General Public License v3.0
📚 Educational Material - WhiteHat Hacking
📫 How to reach me - [email protected]
File "C:\Users\*****\Desktop\chrome-password-hacking-master\create_server.py", line 3, in
import os, sys, cgi, py2exe, BaseHTTPServer, sqlite3, win32crypt
ImportError: DLL load failed: The specified module could not be found.
I have tried running the powershell command, and have installed python 2.7 in 32 bit and everything else in 32 bit. Not sure why it still doesn't work.
I had this running great. I would double click the client, I would see the connection to the server and then the text files would generate. Then all of a sudden, the client stopped sending/communicating to the server.
Here are my steps:
-Run create.py with no parameters
-Server and client built successfully
-Run the server and keep it open
-Run the client
-Check the server...but server does not show a connection (just the usual "waiting for connections")
I have used this successfully about a week ago both for local testing and with port forwarding and static ip but now I can't even get it to run locally. I have tried on 3 different computers which finish the build successfully w/no errors but I receive the same issue. All computers with the below specs:
Running on:
-Windows 10 Pro x64
-Python 3.10
-Built on both Pycharm and Powershell (I tried on both....which build successfully but I receive the same outcome)
-No antivirus installed and Windows firewall is disabled
-Downloaded a fresh copy of all files from Github
-Also tried the exact copy I used a week ago
One day it was working....the next it wasn't. Any suggestions on what I could try to get the communication to occur?
[+] Building Server
Compiling proc-macro2 v1.0.28
Compiling syn v1.0.74
Compiling winapi v0.3.9
Compiling memchr v2.4.0
Compiling futures-core v0.3.16
Compiling proc-macro-hack v0.5.19
Compiling log v0.4.14
Compiling futures-sink v0.3.16
Compiling lazy_static v1.4.0
Compiling winapi v0.2.8
error: linker link.exe
not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 was installed with the Visual C++ option
error: could not compile futures-core
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile log
due to previous error
error: could not compile memchr
due to previous error
error: could not compile proc-macro-hack
due to previous error
error: could not compile syn
due to previous error
error: could not compile proc-macro2
due to previous error
error: could not compile winapi
due to previous error
[-] Server couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-server/target/release/chromepass-server.exe'
[+] Building Client
Compiling winapi v0.3.9
Compiling proc-macro2 v1.0.24
Compiling libc v0.2.99
Compiling syn v1.0.64
Compiling serde v1.0.127
Compiling serde_derive v1.0.127
Compiling log v0.4.14
Compiling memchr v2.3.4
error: linker link.exe
not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 was installed with the Visual C++ option
error: could not compile log
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile memchr
due to previous error
error: could not compile syn
due to previous error
error: could not compile serde_derive
due to previous error
error: could not compile serde
due to previous error
error: could not compile libc
due to previous error
error: could not compile proc-macro2
due to previous error
error: could not compile winapi
due to previous error
[-] Client couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
[-] Error building the server
[-] Error building the client
Please make it better
Is your feature request related to a problem? Please describe.
The README has a lot of steps that can take a while to complete, for example, the build process from the Demo, and the "AV Detection" segment of the readme instruction.
Describe the solution you'd like
.bat or .sh files can be used to automate most (if not all) of the steps necessary to build the application. Alternatively, a Python script can be used to run everything, which could make supporting cross-platform usage easier.
Just like this
https://github.com/aydinnyunus/WifiPassword-Stealer
Also what do you think about these methods of protecting the excitable
Here
https://github.com/hawksh/Hidden-miner-builder
Retrieved cookies cannot be used to log in into my whatsapp web session using autocookie.
It works ok with facebook.
Is your feature request related to a problem? Please describe. ---- NO
Describe alternatives you've considered
CAN YOU PLEASE MAKE ONE SAME FOR ANDROID WHICH CAN RUN ON TERMUX EITHER FOR ROOTED OR UNROOTED ANDROID.
So I got it working on multiple computers
but for some of them they client only sends cookies?
I've tried running it as admin and that hasnt done anything to help that
Any suggestions?
the compile finished with no error but when I run the app nothing get sent to my email
nvm i'm dumb
Latest release is broken look at its size
So yes, gmail sending me an alert that someone was trying to log into my account, and it blocking it. I tried to start it on second pc, and it worked, because i already was logging there. I tunred on "Let less secure apps access your account" of course, so I don't know what is the problem. So I tried getting files directly by IP. But it giving me .py output, not .exe. How to change it?...
Describe the bug
After running create.py is not located link.exe. for more information, see the screenshot. And the code from powershell.
Software
Additional context
PS C:\Users\VshivayaGnida\chromepass> python create.py --error
[i] Checking dependencies...
[+] Building Server
[+] Server build successful.
[+] Building Client
cd templates\chromepass-build; cargo build --release;
Compiling winapi v0.3.9
Compiling typenum v1.13.0
Compiling libc v0.2.90
Compiling log v0.4.14
Compiling serde v1.0.124
Compiling memchr v2.3.4
Compiling ntapi v0.3.6
Compiling proc-macro2 v1.0.24
Compiling syn v1.0.64
Compiling futures-sink v0.3.13
Compiling httparse v1.3.5
Compiling cc v1.0.67
Compiling opaque-debug v0.3.0
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile log
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: linker link.exe
not found
|
= note: �е �дае��� най�и �казанн�й �айл. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: build failed
Traceback (most recent call last):
File "C:\Users\VshivayaGnida\chromepass\create.py", line 203, in
parse_arguments()
File "C:\Users\VshivayaGnida\chromepass\create.py", line 197, in parse_arguments
client = build_client(ip_address=args.ip, error_bool=args.error_bool, error_message=args.message,
File "C:\Users\VshivayaGnida\chromepass\create.py", line 101, in build_client
shutil.copyfile(
File "C:\Users\VshivayaGnida\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
I tried the steps on different windows 10 computers and cannot get it to work. There is always some sort of error. I don't know anything about programming so I don't know the issue.
I currently don't have any screenshots of the error because I uninstalled/deleted everything related to it. I also couldn't get your malkit to work.
I am currently downloading a Windows 10 VM in a last ditch effort.
I just gotta ask: Does this only work on a VM?
This happens because my code doesn't handle non-english characters very well. I have fixed it but haven't released the version yet. It will be version 2.0, since I updated a lot of things. I'll release it as soon as I finish my exams.
I'm somewhat new to python and learning online. When I try it on my own PC I get this error
Traceback (most recent call last):
File "server.py", line 97, in
File "server.py", line 38, in getpass
File "shutil.pyo", line 82, in copyfile
IOError: [Errno 2] No such file or directory: 'C:\\Users\DELL\AppData\Local\Google\Chrome\User Data\Default\Login Data'
I'm stuck here. I could use your help. Thanks in advance.
As someone mentioned on Reddit, I would like to by-pass the popup dialog
Thank you for the awesome new 4.0.0 release!
I managed to get it to work with chromium by simply changing the value of the chrome_dir
variable in the steal.py script to Chromium's User Data Directory, I think it'd be a good idea if you had chromium support out of the box (possibly even edge and opera since they're chromium based and probably use the same algorithm for storing passwords)
I also think that you should make it so that any port can be used (not just 80)
getting this error, when i click exe generated.
Traceback (most recent call last):
File "server.py", line 99, in
File "server.py", line 42, in getpass
sqlite3.OperationalError: unable to open database file
C:\Users\omelc\PycharmProjects\chromepass>python create_server.py
You are using V3.9.9
Choose how you want the passwords delivered
(1) - [Buggy atm] via email (only Gmail supported, [email protected].
(Make sure you turn on 'allow less secure apps')
(2) - via the client.exe (to your computer directly)
Choose a number [1-2]: 2
IP for revrse connection: 93.171.243.53
Do you want the server to display a fake Error message? [Y/N]: y
Enter a custom message or leave empty for default: Cannot open this file
Well done!
The server will be created shortly.
Don't close this window
running py2exe
Building 'dist\client.exe'.
Copy DLL C:\Users\omelc\AppData\Local\Programs\Python\Python37\DLLs\libssl-1_1.dll to dist
Copy DLL C:\Users\omelc\AppData\Local\Programs\Python\Python37\DLLs\libcrypto-1_1.dll to dist
[+] Client done building...
[+] Building server...
running py2exe
? Cookie imported from requests.compat
? OpenSSL imported from urllib3.contrib.pyopenssl
? Queue imported from urllib3.util.queue
? backports imported from urllib3.packages.ssl_match_hostname
? brotli imported from urllib3.response, urllib3.util.request
? collections.Callable imported from requests.compat
? collections.Mapping imported from requests.compat, urllib3._collections
? collections.MutableMapping imported from requests.compat, urllib3._collections
? cookielib imported from requests.compat
? cryptography imported from requests, urllib3.contrib.pyopenssl
? simplejson imported from requests.compat
? socks imported from urllib3.contrib.socks
? urllib.getproxies imported from requests.compat
? urllib.getproxies_environment imported from requests.compat
? urllib.proxy_bypass imported from requests.compat
? urllib.proxy_bypass_environment imported from requests.compat
? urllib.quote imported from requests.compat
? urllib.quote_plus imported from requests.compat
? urllib.unquote imported from requests.compat
? urllib.unquote_plus imported from requests.compat
? urllib.urlencode imported from requests.compat
? sqlite3.connect imported from sqlite3
Building 'dist\server_ip.exe'.
Copy DLL C:\Users\omelc\AppData\Local\Programs\Python\Python37\DLLs\libssl-1_1.dll to dist
Copy DLL C:\Users\omelc\AppData\Local\Programs\Python\Python37\VCRUNTIME140.dll to dist
Copy DLL C:\Users\omelc\AppData\Local\Programs\Python\Python37\DLLs\libcrypto-1_1.dll to dist
error: [WinError 3] The system cannot find the path specified: ''
An error occurred while building the client. Although server was built successfully.
error[E0793]: reference to packed field is unaligned
--> C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6\src\ntexapi.rs:2785:52
|
2785 | *tick_count.QuadPart_mut() = read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
error[E0793]: reference to packed field is unaligned
--> C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\ntapi-0.3.6\src\ntexapi.rs:2809:25
|
2809 | ((read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
For more information about this error, try `rustc --explain E0793`.
error: could not compile `ntapi` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
[-] Client couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
[-] Error building the client
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Software(please complete the following information):
Additional context
Add any other context about the problem here.
Hi, I've got an issue like the title of this thread.
It comes up after the script builds the "build, bdist.win32, winexe, collect-2.7, bundle-2.7, temp and dist" folders. I'm using Python 2.7 and py2exe 32-bit like instructed. I chose the option to email the fetched passwords via Gmail, and send them to a different email than the mail I gave up to login on Gmail.
What's going wrong here?
(Quick edit: I've left the script running like this for quite a while, so I really think it's stuck rather than actually searching for modules...)
warning: spurious network error (2 tries remaining): failed to get 200 response from https://crates.io/api/v1/crates/polyval/0.5.2/download
, got 504
warning: spurious network error (1 tries remaining): failed to get 200 response from https://crates.io/api/v1/crates/polyval/0.5.2/download
, got 504
error: failed to download from https://crates.io/api/v1/crates/polyval/0.5.2/download
Caused by:
failed to get 200 response from https://crates.io/api/v1/crates/polyval/0.5.2/download
, got 504
[-] Client couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
[-] Error building the client
I think the PolyVal link is dead?
--- stderr
error occurred: Failed to find tool. Is cl.exe
installed? (see https://github.com/alexcrichton/cc-rs#compile-time-requirements for help)
warning: build failed, waiting for other jobs to finish...
error: build failed
[-] Client couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
[-] Error building the clien
i runned
python create.py --ip 127.0.0.1
When I run 'py create_server.py' I get an error :
? sqlite3.connect imported from sqlite3
Building 'dist\server_ip.exe'.
Copy DLL C:\Users\react\AppData\Local\Programs\Python\Python37\DLLs\libssl-1_1.dll to dist
Copy DLL C:\Users\react\AppData\Local\Programs\Python\Python37\VCRUNTIME140.dll to dist
Copy DLL C:\Users\react\AppData\Local\Programs\Python\Python37\DLLs\libcrypto-1_1.dll to dist
error: [WinError 3] The system cannot find the path specified: ''
File "create_server.py", line 2, in
import os, sys, cgi, py2exe, BaseHTPPServer, sqlite3 , win32crypt
ImportError: DLL load failer: The specified module could not be found.
Any idea?
Sugestão "steal.py"
Linhas "138-142"
#STEAL.PY
#LINES 138-142
Código demonstrativo:
#dummy var
name = "t-name"
decrypted = "t-decrypted"
url = "t-url"
#init dict
cookies = {"t-url":[]}
##############################################
#before
cookie_obj = {}
cookie_obj["name"] = name
cookie_obj["value"] = decrypted
cookie_obj["domain"] = url
cookies[url].append(cookie_obj)
#before output
print(f"BEFORE: {cookies}")
##############################################
#reset dict
cookies[url] = []
#after
cookies[url].append(
{
"name": name,
"value": decrypted,
"domain": url
}
)
#after output
print(f"AFTER: {cookies}")
Não é nada muito significativo e de todo muda a forma como o código se comporta, mas assim fica escrito de forma mais "pythonizada" e obtemos um codigo com uma leitura simplificada
@arrz#8714
When I try it out on my PC, it works fine.
But when I send it to the victim. He gets the Fake Error. And I get an email, but the password and User area
is blank.
I've built the most recent version and the client and server are working perfectly but no emails are received. Is there any way to check on the client to check what is happening?
I've also noticed the client won't include passwords synced using a Google account or imported passwords.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.