├── .gitignore ├── LICENSE ├── README.md ├── emerald.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | 49 | # Translations 50 | *.mo 51 | *.pot 52 | 53 | # Django stuff: 54 | *.log 55 | local_settings.py 56 | 57 | # Flask stuff: 58 | instance/ 59 | .webassets-cache 60 | 61 | # Scrapy stuff: 62 | .scrapy 63 | 64 | # Sphinx documentation 65 | docs/_build/ 66 | 67 | # PyBuilder 68 | target/ 69 | 70 | # Jupyter Notebook 71 | .ipynb_checkpoints 72 | 73 | # pyenv 74 | .python-version 75 | 76 | # celery beat schedule file 77 | celerybeat-schedule 78 | 79 | # SageMath parsed files 80 | *.sage.py 81 | 82 | # dotenv 83 | .env 84 | 85 | # virtualenv 86 | .venv 87 | venv/ 88 | ENV/ 89 | 90 | # Spyder project settings 91 | .spyderproject 92 | .spyproject 93 | 94 | # Rope project settings 95 | .ropeproject 96 | 97 | # mkdocs documentation 98 | /site 99 | 100 | # mypy 101 | .mypy_cache/ 102 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Emerald 2 | No flash cheat for CS:GO. 3 | 4 | ## Get Started 5 | 1. Clone the repository 6 | ``` 7 | git clone https://github.com/Snaacky/Emerald.git 8 | ``` 9 | 10 | 2. Install the prerequisites 11 | ``` 12 | pip install -r requirements.txt 13 | ``` 14 | 15 | 3. Execute the script in a terminal with elevated privileges 16 | ``` 17 | python emerald.py 18 | ``` 19 | 20 | ## Warning 21 | Emerald comes as is with no guarantees regarding its standing with VAC. This is a cheat and will get you banned if you attempt to use it on any cheat protected servers. 22 | 23 | ## Common Issues 24 | * Issue: The token does not have the specified privilege. 25 | * Fix: The terminal or interpreter must be ran with administrator privileges. 26 | 27 | * Issue: `AttributeError: 'NoneType' object has no attribute` or any other Python error. 28 | * Fix: Make sure you are running at least Python 3.5 (future versions may have breaking issues), have installed the correct versions of the required modules from requirements.txt, and have updated the offsets to the latest version of CS:GO. 29 | 30 | ## Requirements 31 | * Windows (minimum Vista, recommended 7/8.1/10) 32 | * [Python 3.5](https://www.python.org/downloads/) 33 | * [Python for Windows Extensions](https://github.com/mhammond/pywin32) 34 | * [Pymem](https://github.com/srounet/Pymem) 35 | -------------------------------------------------------------------------------- /emerald.py: -------------------------------------------------------------------------------- 1 | import pymem 2 | import pymem.process 3 | import time 4 | 5 | dwLocalPlayer = (0xD36B94) 6 | m_flFlashMaxAlpha = (0xA40C) 7 | 8 | 9 | def main(): 10 | print("Emerald has launched.") 11 | pm = pymem.Pymem("csgo.exe") 12 | client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll 13 | 14 | while True: 15 | player = pm.read_int(client + dwLocalPlayer) 16 | if player: 17 | flash_value = player + m_flFlashMaxAlpha 18 | if flash_value: 19 | pm.write_float(flash_value, float(0)) 20 | time.sleep(1) 21 | 22 | 23 | if __name__ == '__main__': 24 | main() 25 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Pymem==1.0 2 | #pywin32api 3 | --------------------------------------------------------------------------------