├── .DS_Store
├── .github
└── FUNDING.yml
├── .gitignore
├── README.md
├── encrypted
└── index.php
├── encryption.php
├── fun
└── crack-it.php
└── src
├── .DS_Store
├── hello
└── index.php
└── index.php
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arshidkv12/phpBolt/19b62017548eab521b8c7b1b1ab70531f9865456/.DS_Store
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: mailmug # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12 | polar: # Replace with a single Polar username
13 | buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14 | thanks_dev: # Replace with a single thanks.dev username
15 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
16 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | encrypted/*
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # phpBolt - Best php encoder
2 |
3 | 🌟🌟🌟 Please give a star on GitHub :) 🌟🌟🌟
4 |
5 | Please check https://packagist.org/packages/phpbolt/encrypt
6 |
7 | Laravel https://github.com/SiavashBamshadnia/Laravel-Source-Encrypter
8 |
9 | First, install **bolt.so** then you can encrypt php source code with **encryption.php** file.
10 |
11 | **[phpBolt.com](https://phpBolt.com)**
12 |
13 | PHP 7.1,7.2,7.3,7.4,8.0,8.1,8.2,8.3
14 |
15 | Please try it on Linux or Mac.
16 |
17 |
18 |
19 | ## How to install bolt.so?
20 | Download bolt.so file from https://phpbolt.com/ website. Then find the extension directory.
21 | You can find the extension directory by `phpinfo()` function.
22 | Then add `extension=bolt.so` in the php.ini file and restart your server.
23 |
24 | How to encrypt PHP source code?
25 | Please check https://phpbolt.com/how-to-encrypt-php-source-code/
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | ## 🔐 Convert Your PHP Code to C – Protect Your Source, Boost Performance
Do you want to secure your PHP code from being copied or reverse-engineered?
38 | 39 | 40 | 41 |I offer a professional service to convert your PHP functions, classes, or entire libraries into compiled C extensions, making your logic unreadable and faster.
42 | 43 | 44 | 45 |✅ Protect your business logic
✅ Reduce the risk of code theft
✅ Improve performance
✅ Compatible with major PHP versions
Example: https://github.com/arshidkv12/traitify
54 | 55 | 56 | 57 |Feel free to PM info@mailmug.net
58 | 59 | 60 | 61 |Discord:arshidkv12
62 | 63 | -------------------------------------------------------------------------------- /encrypted/index.php: -------------------------------------------------------------------------------- 1 | $file){ 19 | $excludes[ $key ] = $src.'/'.$file; 20 | } 21 | 22 | $rec = new RecursiveIteratorIterator(new RecursiveDirectoryIterator( $src )); 23 | $require_funcs = array('include_once', 'include', 'require', 'require_once'); 24 | 25 | 26 | foreach ($rec as $file) { 27 | 28 | if ($file->isDir()) { 29 | $newDir = str_replace( 'src', 'encrypted', $file->getPath() ); 30 | if( !is_dir( $newDir ) ) mkdir( $newDir ); 31 | continue; 32 | }; 33 | 34 | $filePath = $file->getPathname(); 35 | 36 | if( pathinfo($filePath, PATHINFO_EXTENSION) != 'php' || 37 | in_array( $filePath, $excludes ) ) { 38 | $newFile = str_replace('src', 'encrypted', $filePath ); 39 | copy( $filePath, $newFile ); 40 | continue; 41 | } 42 | 43 | $contents = file_get_contents( $filePath ); 44 | $preppand = ' ".$contents, $php_blot_key );*/ 53 | $cipher = bolt_encrypt( $contents, $php_blot_key ); 54 | $newFile = str_replace('src', 'encrypted', $filePath ); 55 | $fp = fopen( $newFile, 'w'); 56 | fwrite($fp, $preppand.$cipher); 57 | fclose($fp); 58 | 59 | unset( $cipher ); 60 | unset( $contents ); 61 | } 62 | 63 | $out_str = substr_replace($src, '', 0, 4); 64 | $file_location = __DIR__."/encrypted/".$out_str; 65 | echo "Successfully Encrypted... Please check in " .$file_location." folder."; 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /fun/crack-it.php: -------------------------------------------------------------------------------- 1 |