├── LICENSE ├── README.md ├── compile.cpython-312.so ├── foto.jpg ├── foto1.jpg └── unduh.py /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2024 FIRZAH 2 | 3 | All rights reserved. You are granted a limited license to use, copy, and distribute copies of this software in compiled or encrypted form, subject to the following conditions: 4 | You are not permitted to decrypt, reverse engineer, or modify the source code of this software without prior written permission from the copyright holder. 5 | You may not distribute, sell, or share this software for profit without prior written permission from the copyright holder. 6 | You may contribute to this software, provided that any contributions are made with the understanding that they cannot be sold or redistributed for profit. 7 | This software is provided "as is," without any warranties, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement. 8 | The copyright holder is not responsible for any damages or liabilities arising from the use of this software. 9 | By using this software, you agree to the terms outlined above. 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |

3 | PENGUNJUNG 4 | 5 | Visitors 6 |

7 | 8 |

9 | Script by: FIRZAH 10 |

11 | 12 | [![Typing SVG](https://readme-typing-svg.demolab.com?font=Fira+Code&pause=1000&color=00FF00&background=31FF9400&width=435&lines=Script+enc+Code+Python)](https://git.io/typing-svg) 13 | ## 📌 Catatan Penting 14 | 15 | - **note** Sebelum melakukan encoding cython atau kompilasi kode Python, pastikan sistem main sudah sesuai agar dapat terdeteksi sebagai modul. 16 | 17 | ❌ Sebelum (tidak terdeteksi Cython): 18 | ```py 19 | def main(): 20 | print("Masuk") 21 | if __name__ == "__main__": 22 | main() 23 | ``` 24 | ✅ Sesudah (terdeteksi oleh Cython): 25 | ```py 26 | def main(): 27 | print("Masuk") 28 | main() 29 | ``` 30 | 🔍 Contoh Sebelum dan Sesudah 31 | 32 |

33 | Sebelum Perubahan 34 |

35 |

36 | Screenshot Sebelum 37 |

38 | Sesudah Perubahan 39 |

40 |

41 | Screenshot Sesudah 42 | 43 | ## 🚀 Install and Run 44 | 45 | Untuk menginstal dan menjalankan script encode ini, ikuti langkah-langkah berikut: 46 | 47 | ```sh 48 | pkg install git -y 49 | pip install requests 50 | pip install cython 51 | pip install setuptools 52 | pip install pycryptodome 53 | git clone --depth=1 https://github.com/FIRandZAH/encode 54 | cd encode 55 | git pull 56 | python unduh.py 57 | chmod +x encode 58 | ./encode 59 | ``` 60 | 61 | 62 | ## 🤝 Hubungi saya 63 | 64 | Butuh bantuan atau ada pertanyaan? Silakan hubungi saya melalui: 65 | 66 | * **WhatsApp:** https://wa.me/6283170597744 67 | * **Email:** [firzah48@gmail.com](mailto:firzah48@gmail.com) 68 | -------------------------------------------------------------------------------- /compile.cpython-312.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FIRandZAH/encode/168a7fe3d33d7565523c16d48601524dc92bac21/compile.cpython-312.so -------------------------------------------------------------------------------- /foto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FIRandZAH/encode/168a7fe3d33d7565523c16d48601524dc92bac21/foto.jpg -------------------------------------------------------------------------------- /foto1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FIRandZAH/encode/168a7fe3d33d7565523c16d48601524dc92bac21/foto1.jpg -------------------------------------------------------------------------------- /unduh.py: -------------------------------------------------------------------------------- 1 | import os 2 | import requests 3 | import subprocess 4 | from tqdm import tqdm 5 | link = "https://raw.githubusercontent.com/FIRandZAH/FIRZAH/refs/heads/main/encode" 6 | file_name = "encode" 7 | ukuran_ne = 22 * 1024 * 1024 8 | def unduh(url): 9 | response = requests.get(url, stream=True) 10 | total_size = int(response.headers.get('content-length', 0)) 11 | block_size = 1024 12 | data = bytearray() 13 | with tqdm(total=total_size, unit='B', unit_scale=True, desc="Download") as pbar: 14 | for chunk in response.iter_content(block_size): 15 | data.extend(chunk) 16 | pbar.update(len(chunk)) 17 | return bytes(data) 18 | def run_file(file_name): 19 | os.chmod(file_name, 0o755) 20 | subprocess.run(["./" + file_name]) 21 | if os.path.exists(file_name): 22 | file_size = os.path.getsize(file_name) 23 | if file_size >= ukuran_ne: 24 | run_file(file_name) 25 | else: 26 | file_data = unduh(link) 27 | with open(file_name, "wb") as f: 28 | f.write(file_data) 29 | run_file(file_name) 30 | else: 31 | file_data = unduh(link) 32 | with open(file_name, "wb") as f: 33 | f.write(file_data) 34 | run_file(file_name) 35 | --------------------------------------------------------------------------------