fazer-lang 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [4.1.1] - 2026-01-29
6
+
7
+ ### Added
8
+ - **Support Command**: Added `fazer support` CLI command to easily access the donation page.
9
+ - **Keygen Command**: Added `fazer keygen [bits]` CLI command for secure hex key generation (supports 512-bit for FAZER crypto).
10
+ - **FAZER-512 Crypto**: Implemented `crypto.fazer_encrypt` and `crypto.fazer_decrypt` (Custom 512-bit Feistel Network Cipher).
11
+ - **Binary Network**: Updated `net` module (TCP/UDP) to support raw binary data transmission (using Buffer instead of String coercion).
12
+
5
13
  ## [4.0.1] - 2026-01-29
6
14
 
7
15
  ### Major Features
package/README.md CHANGED
@@ -4,11 +4,12 @@
4
4
 
5
5
  Conçu pour l'automatisation, la sécurité et le traitement de données, Fazer combine une syntaxe concise avec une bibliothèque standard "batteries included".
6
6
 
7
- ![Version](https://img.shields.io/badge/version-4.1.0-blue.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)
7
+ ![Version](https://img.shields.io/badge/version-4.1.1-blue.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)
8
8
 
9
- ## 🚀 Nouveautés v4.1.0 (FAZER Protocol)
9
+ ## 🚀 Nouveautés v4.1.1
10
+ - **Support Command**: `fazer support` pour accéder aux dons et soutenir le développement.
11
+ - **Keygen Command**: `fazer keygen` pour générer des clés cryptographiques sécurisées.
10
12
  - **FAZER Crypto System**: Algorithme de chiffrement militaire exclusif (FAZER-512) avec blocs de 512 bits et S-Boxes adaptatives.
11
- - **Keygen CLI**: Commande `fazer keygen` pour générer instantanément des clés cryptographiques sécurisées (256/512 bits).
12
13
  - **Binary Structs**: Manipulation binaire bas niveau (pack/unpack) pour protocoles réseau.
13
14
  - **Worker Threads**: Vrai parallélisme multi-thread via `worker` module.
14
15
  - **HTML/OSINT**: Module `html` pour l'extraction de données (liens, emails).
package/fazer.js CHANGED
@@ -6331,15 +6331,15 @@ Add-Type -TypeDefinition $code -Language CCSharp
6331
6331
  client.connect(Number(port), String(host), () => {
6332
6332
  const api = {
6333
6333
  id: id,
6334
- write: (data) => client.write(String(data)),
6335
- close: () => client.destroy()
6336
- };
6337
-
6338
- client.on('data', async (data) => {
6339
- if (onData && onData.__fnref__) {
6340
- await this._call(onData, [data.toString(), api], this.global);
6341
- }
6342
- });
6334
+ write: (data) => client.write(data),
6335
+ close: () => client.destroy()
6336
+ };
6337
+
6338
+ client.on('data', async (data) => {
6339
+ if (onData && onData.__fnref__) {
6340
+ await this._call(onData, [data, api], this.global);
6341
+ }
6342
+ });
6343
6343
 
6344
6344
  client.on('close', () => { /* Connection closed */ });
6345
6345
 
@@ -6362,18 +6362,18 @@ Add-Type -TypeDefinition $code -Language CCSharp
6362
6362
  });
6363
6363
 
6364
6364
  server.on('message', async (msg, rinfo) => {
6365
- if (onMsg && onMsg.__fnref__) {
6366
- const info = { address: rinfo.address, port: rinfo.port, size: rinfo.size };
6367
- await this._call(onMsg, [msg.toString(), info], this.global);
6368
- }
6369
- });
6365
+ if (onMsg && onMsg.__fnref__) {
6366
+ const info = { address: rinfo.address, port: rinfo.port, size: rinfo.size };
6367
+ await this._call(onMsg, [msg, info], this.global);
6368
+ }
6369
+ });
6370
6370
 
6371
6371
  server.on('listening', () => {
6372
6372
  const address = server.address();
6373
6373
  const api = {
6374
6374
  send: (msg, host, port) => {
6375
- server.send(String(msg), Number(port), String(host));
6376
- },
6375
+ server.send(msg, Number(port), String(host));
6376
+ },
6377
6377
  close: () => server.close()
6378
6378
  };
6379
6379
  resolve(api);
@@ -6383,11 +6383,11 @@ Add-Type -TypeDefinition $code -Language CCSharp
6383
6383
  else {
6384
6384
  // Just a client, no bind needed (random port)
6385
6385
  const api = {
6386
- send: (msg, host, port) => {
6387
- server.send(String(msg), Number(port), String(host));
6388
- },
6389
- close: () => server.close()
6390
- };
6386
+ send: (msg, host, port) => {
6387
+ server.send(msg, Number(port), String(host));
6388
+ },
6389
+ close: () => server.close()
6390
+ };
6391
6391
  resolve(api);
6392
6392
  }
6393
6393
  });
@@ -10495,6 +10495,13 @@ async function main() {
10495
10495
  console.log(`${colors.green}[+] Generated ${len * 8}-bit Key:${colors.reset}`);
10496
10496
  console.log(key);
10497
10497
  },
10498
+
10499
+ "support": async () => {
10500
+ const url = "https://ko-fi.com/fz1000";
10501
+ console.log(`${colors.cyan}Opening support page: ${url}${colors.reset}`);
10502
+ const start = (process.platform == 'darwin'? 'open': process.platform == 'win32'? 'start': 'xdg-open');
10503
+ require('child_process').exec(start + ' ' + url);
10504
+ },
10498
10505
 
10499
10506
  // --- SYSTEM / UTILS ---
10500
10507
  "ls": async (args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fazer-lang",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Fazer — The Red Team Language. Native modules for C2 Implant, WiFi Recon, Steganography (LSB), Process Injection, Crypto (FAZER-512), 3D Game Engine, and Automation. Secure, powerful, standalone.",
5
5
  "main": "fazer.js",
6
6
  "types": "index.d.ts",