diff --git a/.github/commit-bot/daily-activity.log b/.github/commit-bot/daily-activity.log deleted file mode 100644 index e0e7965..0000000 --- a/.github/commit-bot/daily-activity.log +++ /dev/null @@ -1,128 +0,0 @@ -2026-05-06T10:27:47Z | automated activity commit #1 -2026-05-06T10:27:48Z | automated activity commit #2 -2026-05-06T10:27:48Z | automated activity commit #3 -2026-05-06T10:27:48Z | automated activity commit #4 -2026-05-06T10:27:48Z | automated activity commit #5 -2026-05-06T10:27:48Z | automated activity commit #6 -2026-05-06T10:27:48Z | automated activity commit #7 -2026-05-06T10:27:48Z | automated activity commit #8 -2026-05-06T10:27:48Z | automated activity commit #9 -2026-05-06T10:27:49Z | automated activity commit #10 -2026-05-06T10:27:49Z | automated activity commit #11 -2026-05-06T10:27:49Z | automated activity commit #12 -2026-05-06T10:27:49Z | automated activity commit #13 -2026-05-06T10:27:49Z | automated activity commit #14 -2026-05-06T10:27:49Z | automated activity commit #15 -2026-05-06T10:27:49Z | automated activity commit #16 -2026-05-06T10:27:49Z | automated activity commit #17 -2026-05-06T10:27:49Z | automated activity commit #18 -2026-05-06T10:27:49Z | automated activity commit #19 -2026-05-06T10:27:49Z | automated activity commit #20 -2026-05-06T10:27:49Z | automated activity commit #21 -2026-05-06T10:27:49Z | automated activity commit #22 -2026-05-06T10:27:49Z | automated activity commit #23 -2026-05-06T10:27:49Z | automated activity commit #24 -2026-05-06T10:27:49Z | automated activity commit #25 -2026-05-06T10:27:49Z | automated activity commit #26 -2026-05-06T10:27:49Z | automated activity commit #27 -2026-05-06T10:27:49Z | automated activity commit #28 -2026-05-06T10:27:49Z | automated activity commit #29 -2026-05-06T10:27:49Z | automated activity commit #30 -2026-05-06T10:27:49Z | automated activity commit #31 -2026-05-06T10:27:49Z | automated activity commit #32 -2026-05-06T10:27:49Z | automated activity commit #33 -2026-05-06T10:27:49Z | automated activity commit #34 -2026-05-06T10:27:49Z | automated activity commit #35 -2026-05-06T10:27:49Z | automated activity commit #36 -2026-05-06T10:27:49Z | automated activity commit #37 -2026-05-06T10:27:49Z | automated activity commit #38 -2026-05-06T10:27:49Z | automated activity commit #39 -2026-05-06T10:27:49Z | automated activity commit #40 -2026-05-06T10:27:49Z | automated activity commit #41 -2026-05-06T10:27:49Z | automated activity commit #42 -2026-05-06T10:27:49Z | automated activity commit #43 -2026-05-06T10:27:49Z | automated activity commit #44 -2026-05-06T10:27:49Z | automated activity commit #45 -2026-05-06T10:27:49Z | automated activity commit #46 -2026-05-06T10:27:49Z | automated activity commit #47 -2026-05-06T10:27:49Z | automated activity commit #48 -2026-05-06T10:27:49Z | automated activity commit #49 -2026-05-06T10:27:49Z | automated activity commit #50 -2026-05-06T10:27:49Z | automated activity commit #51 -2026-05-06T10:27:49Z | automated activity commit #52 -2026-05-06T10:27:49Z | automated activity commit #53 -2026-05-06T10:27:49Z | automated activity commit #54 -2026-05-06T10:27:49Z | automated activity commit #55 -2026-05-06T10:27:49Z | automated activity commit #56 -2026-05-06T10:27:49Z | automated activity commit #57 -2026-05-06T10:27:49Z | automated activity commit #58 -2026-05-06T10:27:49Z | automated activity commit #59 -2026-05-06T10:27:49Z | automated activity commit #60 -2026-05-06T10:27:49Z | automated activity commit #61 -2026-05-06T10:27:50Z | automated activity commit #62 -2026-05-06T10:27:50Z | automated activity commit #63 -2026-05-06T10:27:50Z | automated activity commit #64 -2026-05-07T10:36:57Z | automated activity commit #1 -2026-05-07T10:37:00Z | automated activity commit #2 -2026-05-07T10:37:00Z | automated activity commit #3 -2026-05-07T10:37:00Z | automated activity commit #4 -2026-05-07T10:37:00Z | automated activity commit #5 -2026-05-07T10:37:00Z | automated activity commit #6 -2026-05-07T10:37:00Z | automated activity commit #7 -2026-05-07T10:37:00Z | automated activity commit #8 -2026-05-07T10:37:00Z | automated activity commit #9 -2026-05-07T10:37:00Z | automated activity commit #10 -2026-05-07T10:37:00Z | automated activity commit #11 -2026-05-07T10:37:00Z | automated activity commit #12 -2026-05-07T10:37:00Z | automated activity commit #13 -2026-05-07T10:37:00Z | automated activity commit #14 -2026-05-07T10:37:00Z | automated activity commit #15 -2026-05-07T10:37:00Z | automated activity commit #16 -2026-05-07T10:37:00Z | automated activity commit #17 -2026-05-07T10:37:00Z | automated activity commit #18 -2026-05-07T10:37:00Z | automated activity commit #19 -2026-05-07T10:37:00Z | automated activity commit #20 -2026-05-07T10:37:00Z | automated activity commit #21 -2026-05-07T10:37:00Z | automated activity commit #22 -2026-05-07T10:37:00Z | automated activity commit #23 -2026-05-07T10:37:00Z | automated activity commit #24 -2026-05-07T10:37:00Z | automated activity commit #25 -2026-05-07T10:37:00Z | automated activity commit #26 -2026-05-07T10:37:00Z | automated activity commit #27 -2026-05-07T10:37:00Z | automated activity commit #28 -2026-05-07T10:37:00Z | automated activity commit #29 -2026-05-07T10:37:00Z | automated activity commit #30 -2026-05-07T10:37:00Z | automated activity commit #31 -2026-05-07T10:37:00Z | automated activity commit #32 -2026-05-07T10:37:00Z | automated activity commit #33 -2026-05-07T10:37:00Z | automated activity commit #34 -2026-05-07T10:37:00Z | automated activity commit #35 -2026-05-07T10:37:00Z | automated activity commit #36 -2026-05-07T10:37:00Z | automated activity commit #37 -2026-05-07T10:37:00Z | automated activity commit #38 -2026-05-07T10:37:01Z | automated activity commit #39 -2026-05-07T10:37:01Z | automated activity commit #40 -2026-05-07T10:37:01Z | automated activity commit #41 -2026-05-07T10:37:01Z | automated activity commit #42 -2026-05-07T10:37:01Z | automated activity commit #43 -2026-05-07T10:37:01Z | automated activity commit #44 -2026-05-07T10:37:01Z | automated activity commit #45 -2026-05-07T10:37:01Z | automated activity commit #46 -2026-05-07T10:37:01Z | automated activity commit #47 -2026-05-07T10:37:01Z | automated activity commit #48 -2026-05-07T10:37:01Z | automated activity commit #49 -2026-05-07T10:37:01Z | automated activity commit #50 -2026-05-07T10:37:01Z | automated activity commit #51 -2026-05-07T10:37:01Z | automated activity commit #52 -2026-05-07T10:37:01Z | automated activity commit #53 -2026-05-07T10:37:01Z | automated activity commit #54 -2026-05-07T10:37:01Z | automated activity commit #55 -2026-05-07T10:37:01Z | automated activity commit #56 -2026-05-07T10:37:01Z | automated activity commit #57 -2026-05-07T10:37:01Z | automated activity commit #58 -2026-05-07T10:37:01Z | automated activity commit #59 -2026-05-07T10:37:01Z | automated activity commit #60 -2026-05-07T10:37:01Z | automated activity commit #61 -2026-05-07T10:37:01Z | automated activity commit #62 -2026-05-07T10:37:01Z | automated activity commit #63 -2026-05-07T10:37:01Z | automated activity commit #64 diff --git a/.github/scripts/daily-64-commits.sh b/.github/scripts/daily-64-commits.sh deleted file mode 100755 index bd4168a..0000000 --- a/.github/scripts/daily-64-commits.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -COUNT="${COUNT:-64}" -TARGET_FILE=".github/commit-bot/daily-activity.log" - -mkdir -p "$(dirname "$TARGET_FILE")" - -touch "$TARGET_FILE" - -for i in $(seq 1 "$COUNT"); do - ts="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" - echo "$ts | automated activity commit #$i" >> "$TARGET_FILE" - - git add "$TARGET_FILE" - git commit -m "chore(activity): daily commit $i/$COUNT" >/dev/null - -done diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 6a9c312..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: C/C++ CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: configure - run: ./configure - - name: make - run: make - - name: make check - run: make check - - name: make distcheck - run: make distcheck diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index d16531d..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,105 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL Advanced" - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '42 2 * * 0' - -jobs: - analyze: - name: Analyze (${{ matrix.language }}) - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners (GitHub.com only) - # Consider using larger runners or machines with greater resources for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - permissions: - # required for all workflows - security-events: read - - # required to fetch internal or private CodeQL packs - packages: read - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - include: - - language: actions - build-mode: none - - language: c-cpp - build-mode: autobuild - - language: python - build-mode: none - - language: rust - build-mode: none - # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift' - # Use `c-cpp` to analyze code written in C, C++ or both - # Use 'java-kotlin' to analyze code written in Java, Kotlin or both - # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both - # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, - # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. - # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how - # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Add any setup steps before running the `github/codeql-action/init` action. - # This includes steps like installing compilers or runtimes (`actions/setup-node` - # or others). This is typically only required for manual builds. - # - name: Setup runtime (example) - # uses: actions/setup-example@v1 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v4 - with: - languages: ${{ matrix.language }} - build-mode: ${{ matrix.build-mode }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - # If the analyze step fails for one of the languages you are analyzing with - # "We were unable to automatically build your code", modify the matrix above - # to set the build mode to "manual" for that language. Then modify this step - # to build your code. - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - name: Run manual build steps - if: matrix.build-mode == 'manual' - shell: bash - run: | - echo 'If you are using a "manual" build mode for one or more of the' \ - 'languages you are analyzing, replace this with the commands to build' \ - 'your code, for example:' - echo ' make bootstrap' - echo ' make release' - exit 1 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/xnu-ci.yml b/.github/workflows/xnu-ci.yml deleted file mode 100644 index d1c2ae5..0000000 --- a/.github/workflows/xnu-ci.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: xnu-ci - -on: - push: - pull_request: - -jobs: - devtools-check: - name: Devtools Check (Linux Docker) - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Build devtools image - run: docker build -f docker/Dockerfile.devtools -t xnu-devtools:ci . - - - name: Run toolchain smoke checks - run: | - docker run --rm -v "$PWD:/workspace" -w /workspace xnu-devtools:ci bash -lc ' - set -euo pipefail - clang --version | head -n 1 - make --version | head -n 1 - python3 --version - rg --version | head -n 1 - ' - - xnu-build-macos: - name: Full XNU Build (macOS Host) - runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Build kernel on host - run: ./scripts/build-xnu.sh diff --git a/EXTERNAL_HEADERS/AssertMacros.h b/EXTERNAL_HEADERS/AssertMacros.h index f2d3274..3e7016c 100755 --- a/EXTERNAL_HEADERS/AssertMacros.h +++ b/EXTERNAL_HEADERS/AssertMacros.h @@ -1,15 +1,15 @@ /* * Copyright (c) 2002-2008 by Apple Inc.. All rights reserved. * - * @APPLE_LICENSE_HEADER_START@ + * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License - * Version 2.0 (the 'License'). You may not use this file except in + * Version 2.0 (the 'License'). You may not use t his file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. - * + * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, @@ -24,7 +24,7 @@ /* File: AssertMacros.h - + Contains: This file defines structured error handling and assertion macros for programming in C. Originally used in QuickDraw GX and later enhanced. These macros are used throughout Apple's software. @@ -40,7 +40,7 @@ Bugs?: For bug reports, consult the following page on the World Wide Web: - + http://developer.apple.com/bugreporter/ */ #ifndef __ASSERTMACROS__ diff --git a/File.txt b/File.txt index 662d144..d1c0a4a 100644 --- a/File.txt +++ b/File.txt @@ -1053,5 +1053,3 @@ ├── xnu-image.png └── ıo.test.txt -326 directories, 4865 files -fero@Alperen-MacBook-Air XNU-Development-Project % \ No newline at end of file diff --git a/Prompt Plans b/Prompt Plans new file mode 100644 index 0000000..7e5e0f5 --- /dev/null +++ b/Prompt Plans @@ -0,0 +1,11 @@ +Prompt Plans + +--1-- +Yoldaş; Ben Alperen ERKAN, Stux6 Technology'nin Baş mühendisi ve kurucusuyum. Ekibimiz 3 yıllık yeni sayılabilcek bir ekip diyebiliriz. +isimimiz de ki "Stux" ifadesi Stuxnet'ten gelmedir, 6 sayısı ise eskiden ki üye sayımızdı. Kuruluş hikayesine gelirsek; Aslında bu ekip - +bir günde kurulmadı (sezar'ın dediği gibi --> Roma bir günde kurulmadı), ben Stux6 ekibini kurarken bir zamanlar en güvendiğim arkadaşlarımı +yanıma alarak NeOx OS adlı bir ekosistem geliştirmeye başladık, elbette her zaman ki gibi tek ben çalışsamda bugün tek başıma NeOx OS ailesi +için 13. işletim sistemini de bitiriyorum. Ekibimiz de ki 3 üye de aslında bana ait hesaplar (erkanalperen54-boop, anonymous-boop-us, soviet-brother). +Bu 3 hesabı açmamda ki amaç gönüllü bir repo olduğunu belli etmek ve görev paylaşımı yapabilekti... + +--2-- \ No newline at end of file diff --git a/README.md b/README.md index 6090097..ee021bc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- Profile + Profile


diff --git a/adres.call.arm b/adres.call.arm index abee296..901af07 100644 --- a/adres.call.arm +++ b/adres.call.arm @@ -5,7 +5,7 @@ call"0x12816389FFF" ; ; call"0x0" mov (0x1092feEE) ; -klc, spi ; +klc, spi ; row, up%%1 ; mov mt(0x00000fA) ; diff --git a/agent/claude-code-unlimited b/agent/claude-code-unlimited new file mode 160000 index 0000000..1fec4a7 --- /dev/null +++ b/agent/claude-code-unlimited @@ -0,0 +1 @@ +Subproject commit 1fec4a7d73f4f21129a523cfaba43b53a1e15d75 diff --git a/api.py b/api.py new file mode 100644 index 0000000..a58c406 --- /dev/null +++ b/api.py @@ -0,0 +1,30 @@ + import os +os.environ['MOESIF_APPLICATION_ID'] = XXX + +# 'eyJhcHAiOiIxMDUxOjg3NCIsInZlciI6IjIuMSIsIm9yZyI6Ijg3OjczMSIsImlhdCI6MTc3NzU5MzYwMH0.R3d7yXUze4eHQAapprsbKuNkpKa2QJUdlI3ZX-soh34' + +from moesif_aws_lambda import MoesifLogger + +moesif_options = {'log_body': True} + +@MoesifLogger(moesif_options) +def lambda_handler(event, context): + return { + 'statusCode': 200, + 'headers': {'Content-Type': 'application/json'}, + 'body': '{"msg": "Hello from Lambda!"}' + } + +# SAHTE EVENT (API Gateway formatında) +mock_event = { + "httpMethod": "GET", + "path": "/test-endpoint", + "headers": {"Host": "example.com"}, + "queryStringParameters": None, + "body": None, + "requestContext": {"requestId": "123"} +} + +if __name__ == "__main__": + lambda_handler(mock_event, {}) + print("İstek Moesif'e gönderildi!") diff --git a/api.test.py b/api.test.py new file mode 100644 index 0000000..1523109 --- /dev/null +++ b/api.test.py @@ -0,0 +1,4 @@ +<<<<<< TEST +=========== + +exit.function() diff --git a/appleossdownloader.sh b/appleossdownloader.sh index aca0cde..d7f988f 100755 --- a/appleossdownloader.sh +++ b/appleossdownloader.sh @@ -13,6 +13,7 @@ for i in {1..3}; do echo -ne "${RED}." done echo -e "${NC}" +sleep 1 echo -e "\n${YELLOW}Critical${NC}" echo -e "This script will initiate the process of downloading and configuring Apple OSS resources." @@ -25,9 +26,18 @@ read -p "Your choice [1-2]: " choice case $choice in 1) - echo -e "\n${GREEN}[+]${NC} The transaction has been confirmed. Reading the Apple manifest..." - # general codes + echo -e "\n${YELLOW}[+]${NC} The transaction has been confirmed. Reading the Apple manifest..." + echo -ne "${YELLOW}[!] The process was terminated due to a critical error in the code. \n" + echo -ne "${RED}[!] Closing" + for i in {1..3}; do + sleep 1 + for i in {1..3}; do + sleep 1 + echo -ne "${RED}." + done + echo -e "${NC}" ;; + 2) echo -e "\n${RED}[!] The transaction was forcibly closed...${NC}" echo -e "${YELLOW}[*] The Stux6-Technology Security Protocol has been implemented.${NC}" diff --git a/base.call.db b/base.call.db index 06c2d89..a70cb2c 100644 --- a/base.call.db +++ b/base.call.db @@ -1,3 +1,3 @@ <--! Delete Full Services !--> - +panic() <--! Plase Not add Service !--> diff --git a/.github/workflows/daily-64-commits.yml b/bracnh.bin similarity index 100% rename from .github/workflows/daily-64-commits.yml rename to bracnh.bin diff --git a/bsd/crypto/aes.h b/bsd/crypto/aes.h index 9fd55fd..ee8e2c5 100755 --- a/bsd/crypto/aes.h +++ b/bsd/crypto/aes.h @@ -28,6 +28,8 @@ /* * This header file is kept for legacy reasons and may be removed in - * future; the interface resides in . + * future; the interface resides in . */ + #include + diff --git a/bsd/crypto/aesxts.h b/bsd/crypto/aesxts.h index 574ed19..20f7efa 100755 --- a/bsd/crypto/aesxts.h +++ b/bsd/crypto/aesxts.h @@ -12,7 +12,7 @@ * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER - * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and diff --git a/bsd/crypto/entropy/entropy_sysctl.c b/bsd/crypto/entropy/entropy_sysctl.c index 03fd739..98f4d7d 100755 --- a/bsd/crypto/entropy/entropy_sysctl.c +++ b/bsd/crypto/entropy/entropy_sysctl.c @@ -13,8 +13,8 @@ * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at - * http://www.opensource.apple.com/apsl/ and read it before using this file. - * + * http://www.opensource.apple.com/apsl/ and read it before using this file. + * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, @@ -59,7 +59,7 @@ SYSCTL_QUAD(_kern_entropy_filter, OID_AUTO, rejected_sample_count, CTLFLAG_RD, & SYSCTL_NODE(_kern_entropy, OID_AUTO, analysis, CTLFLAG_RD, 0, "Subsystem to collect entropy samples for offline analysis"); - + static int entropy_analysis_supported = ENTROPY_ANALYSIS_SUPPORTED; SYSCTL_INT(_kern_entropy_analysis, OID_AUTO, supported, CTLFLAG_RD, &entropy_analysis_supported, 0, "1 if the kernel was built with entropy analysis support; 0 otherwise"); diff --git a/bsd/i386/_limits.h b/bsd/i386/_limits.h index 6910f45..4121d02 100755 --- a/bsd/i386/_limits.h +++ b/bsd/i386/_limits.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ @@ -16,7 +16,7 @@ * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. - * + * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _I386__LIMITS_H_ @@ -24,8 +24,9 @@ #if defined (__i386__) || defined (__x86_64__) -#define __DARWIN_CLK_TCK 100 /* ticks per second */ +#define __DARWIN_CLK_TCK 100 /* ticks per second */ #endif /* defined (__i386__) || defined (__x86_64__) */ #endif /* _I386__LIMITS_H_ */ + diff --git a/config/_call_func.aarch64 b/config/_call_func.aarch64 index ec6b8e5..562133c 100644 --- a/config/_call_func.aarch64 +++ b/config/_call_func.aarch64 @@ -33,10 +33,15 @@ bl __kernel_params__ ; ..-..-.--.-.-.-.-.-- ldr x0, =0x00ffffff3A ; -.-.---.-.-.-.--.--. ldr x1, [x0] ; ..-.-.--.-.---.-.-.- -bl __kernel_params ; --.-.--.-----.-.-.-. +bl __kernel_params__ ; --.-.--.-----.-.-.-. ldr x0, =0x000000000ffA ; -.-..-...-.---.-.-.. ldr x1, [x0] ; .-.-....-.---.-.-.-. bl __kernel_params__ ; -..-.-..-.---..----- +ldr x0, =0x3FFFFFFFFA4 ; -.-----.--.--.---.-- +ldr x1, [x0] ; -.--...--.--.-.-.--- +bl __kernel_params__ ; .-.-..-.-.------.-.- + + diff --git a/deepseek.py b/deepseek.py new file mode 100644 index 0000000..5d04159 --- /dev/null +++ b/deepseek.py @@ -0,0 +1,60 @@ +import os +from azure.ai.inference import ChatCompletionsClient +from azure.ai.inference.models import SystemMessage, UserMessage, AssistantMessage +from azure.core.credentials import AzureKeyCredential +# Rich kütüphanesinin konsol ve Markdown bileşenlerini çağırıyoruz +from rich.console import Console +from rich.markdown import Markdown + +endpoint = "https://models.github.ai/inference" +model = "deepseek/DeepSeek-V3-0324" +token = os.environ["GITHUB_TOKEN"] + +client = ChatCompletionsClient( + endpoint=endpoint, + credential=AzureKeyCredential(token), +) + +# Rich konsol objesini başlatıyoruz +console = Console() + +messages = [ + SystemMessage("You are the most authoritative AI agent on the Stux6 Technology Team’s GitHub repositories.") +] + +console.print("[bold green]--- DeepSeek-V3 Codespaces Uyumlu Sohbet Arayüzü ---[/bold green]") +console.print("Çıkış yapmak için 'exit' veya 'quit' yazabilirsiniz.\n") + +while True: + user_input = input("Siz: ") + + if user_input.strip().lower() in ['exit', 'quit']: + console.print("[bold red]Sohbet sonlandırıldı.[/bold red]") + break + + if not user_input.strip(): + continue + + messages.append(UserMessage(user_input)) + + try: + response = client.complete( + messages=messages, + temperature=1.0, + top_p=1.0, + max_tokens=1000, + model=model + ) + + reply = response.choices[0].message.content + + # Markdown çıktısını renklendirip terminale basıyoruz + console.print("\n[bold blue]Model:[/bold blue]") + md = Markdown(reply) + console.print(md) + print("\n" + "-"*50 + "\n") # Bölme çizgisi + + messages.append(AssistantMessage(reply)) + + except Exception as e: + console.print(f"\n[bold red]Bir hata oluştu:[/bold red] {e}\n") \ No newline at end of file diff --git a/docker/qemu/run-qemu.sh b/docker/qemu/run-qemu.sh index 7e447f9..9ee886d 100644 --- a/docker/qemu/run-qemu.sh +++ b/docker/qemu/run-qemu.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash set -euo pipefail -ISO_PATH="${ISO_PATH:-/vm/iso/kernel.iso}" -RAM_MB="${RAM_MB:-4096}" -CPUS="${CPUS:-4}" +ISO_PATH="${ISO_PATH:-/vm/os/kernel.iso}" +RAM_MB="${RAM_MB:-6116}" +CPUS="${CPUS:-6}" if [[ ! -f "$ISO_PATH" ]]; then echo "[qemu] ISO not found: $ISO_PATH" >&2 diff --git a/iokit/Kernel/IOCPU.cpp b/iokit/Kernel/IOCPU.cpp index b6d58c4..db84c09 100755 --- a/iokit/Kernel/IOCPU.cpp +++ b/iokit/Kernel/IOCPU.cpp @@ -1,6 +1,9 @@ /* * Copyright (c) 1999-2016 Apple Inc. All rights reserved. * + * Update author: Alperen ERKAN + * Update team: Stux6 Technology (TM) + * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code @@ -24,6 +27,8 @@ * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ + * + * update relase: A CPU Core Selector script has been added to the script for testing purposes. */ #define IOKIT_ENABLE_SHARED_PTR @@ -302,6 +307,19 @@ IOCPUSleepKernel(void) if (target->getCPUNumber() != (UInt32)master_cpu) { if (target->getCPUState() == kIOCPUStateRunning) { panic("Spurious wakeup of cpu %u", (unsigned int)(target->getCPUNumber())); + + /* + + -- Test Code -- + -- Plase don't running! -- + panic(unsigned int(target_core->getCPUManager) *+++p-); + for (p = 0; p < MemCup; p++) { + if (target->getCPUManager(i) += (__amd64__)master_cpu) { + panic_target_hex == '0x4000000' // 0x3F --> 0x40 converstation + } + } + */ + } if (target->getCPUState() == kIOCPUStateStopped) { diff --git a/iokit/Kernel/IOLocks.cpp b/iokit/Kernel/IOLocks.cpp index 04d9a7a..ecc3c8e 100755 --- a/iokit/Kernel/IOLocks.cpp +++ b/iokit/Kernel/IOLocks.cpp @@ -1,6 +1,17 @@ -/* +/* * Copyright (c) 1998-2007 Apple Inc. All rights reserved. * + * volunteer developer: Alperen ERKAN + * + * @STUX6_DISCLAIMER_START@ + * + * Any issues arising from changes made to the code are the sole responsibility + * of the individual; Stux6 Technology bears no legal liability or responsibility. + * Please review the Security.md documentation. This development is a voluntary project + * undertaken under the APSL. No liability is accepted! + * + * @STUX6_DISCLAIMER_END@ + * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code @@ -11,10 +22,10 @@ * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. - * + * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. - * + * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, @@ -24,7 +35,7 @@ * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ - */ + */ #include @@ -50,6 +61,29 @@ IOLockInitWithState( IOLock * lock, IOLockState state) } } +void +deadlock( void ) +{ + /* + * The test code below has been prepared by the developer for the + * purpose of testing the system and its components. Once this code + * is executed, it locks up the system and freezes all its components + * by triggering a NULL call. It is not advisable to run this code. + * + * ==== TEST CODE ==== + * void + * deadlock(void) + * { + * while(true) { + * panic(NULL + "[!]" %p); + * } + * } + * + */ + + lck_mtx_ram_init(IOLockGroup); +} + IOLock * IOLockAlloc( void ) { diff --git a/libkern/crypto/corecrypto_aes.c b/libkern/crypto/corecrypto_aes.c index 20ff4f1..2361b3b 100755 --- a/libkern/crypto/corecrypto_aes.c +++ b/libkern/crypto/corecrypto_aes.c @@ -1,13 +1,19 @@ /* * Copyright (c) 2012 Apple Computer, Inc. All rights reserved. * - * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ + * Volunteer developer: Alperen ERKAN + * + * @STUX6_START@ + * + * @STUX6_END@ + * + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License - * Version 2.0 (the 'License'). You may not use this file except in - * compliance with the License. The rights granted to you under the License - * may not be used to create, or enable the creation or redistribution of, + * Version 2.0 (the 'License'). You may not use this file except in + * compliance with the License. The rights granted to you under the License + * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. @@ -23,7 +29,7 @@ * Please see the License for the specific language governing rights and * limitations under the License. * - * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #include @@ -45,6 +51,15 @@ aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]) return cccbc_init(cbc, cx[0].ctx, key_len, key); } +/* + void + aes_aanl(const unsignet char *msg, str msg_up, msg_crypt_rtx rt[0] *--msg) + { + // UP + + } +*/ + aes_rval aes_encrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk, unsigned char *out_blk, aes_encrypt_ctx cx[1]) @@ -53,6 +68,7 @@ aes_encrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigne cccbc_iv_decl(cbc->block_size, ctx_iv); int rc = cccbc_set_iv(cbc, ctx_iv, in_iv); + // UNSIGNET(); if (rc) { return rc; } diff --git a/libkern/kxld/tests/loadtest.py b/libkern/kxld/tests/loadtest.py index ce7a95d..ed59c55 100755 --- a/libkern/kxld/tests/loadtest.py +++ b/libkern/kxld/tests/loadtest.py @@ -26,13 +26,13 @@ # @APPLE_OSREFERENCE_LICENSE_HEADER_END@ ## -#!/usr/bin/env python +#!/usr/bin/env python3 import sys from subprocess import call, Popen, PIPE kexts = [] -pipe = Popen("/usr/sbin/kextfind \( -l -and -x -and -arch i386 \)", shell=True, stdout=PIPE).stdout +pipe = Popen(r"/usr/sbin/kextfind \( -l -and -x -and -arch i386 \)", shell=True, stdout=PIPE, text=True).stdout line = pipe.readline() while line: @@ -43,18 +43,17 @@ for kext in kexts: try: - print "Processing", kext + print("Processing", kext) #cmd = "/sbin/kextload -ns /tmp/syms \"%s\"" % kext cmd = "/sbin/kextload \"%s\"" % kext - kextload = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE) + kextload = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, text=True) for i in range(20): - kextload.stdin.write("0x1000\n"); + kextload.stdin.write("0x1000\n") retcode = kextload.wait() if retcode < 0: - print >>sys.stderr, "*** kextload of %s was terminated by signal %d" % (kext, -retcode) + print("*** kextload of %s was terminated by signal %d" % (kext, -retcode), file=sys.stderr) elif retcode > 0: - print >>sys.stderr, "*** kextload of %s failed with return code %d" % (kext, retcode) - except OSError, e: - print >>sys.stderr, "Execution failed:", e + print("*** kextload of %s failed with return code %d" % (kext, retcode), file=sys.stderr) + except OSError as e: + print("Execution failed:", e, file=sys.stderr) sys.exit(1) - diff --git a/origin/xnu b/origin/xnu new file mode 160000 index 0000000..f6217f8 --- /dev/null +++ b/origin/xnu @@ -0,0 +1 @@ +Subproject commit f6217f891ac0bb64f3d375211650a4c1ff8ca1ea diff --git a/out/base.call.db b/out/base.call.db index c11d7ad..3432724 100644 --- a/out/base.call.db +++ b/out/base.call.db @@ -8,7 +8,8 @@ __superbase__ __login_logout__ __syntax_error__ __sha_encrypt_error__ -__307_error__ +__307_error_ +__404__ __sync_run__ __warp_run__ __surp_stp__ @@ -17,6 +18,7 @@ __vsnc_kln__ __sup_base_lib_on__ __lib_case__ __whoami_zsh_run +_kllm_ __pwd_zsh_run__ __$__ __kernbase_rm__ diff --git a/out/killer.sh b/out/killer.sh index eaf035c..13a7ac0 100644 --- a/out/killer.sh +++ b/out/killer.sh @@ -1,11 +1,11 @@ # /bin/bash! # This is Test File. Plase don't Running !!! -echo "[*] Killer Running..." +# echo "[*] Killer Running..." -rm -rf /out/*.log -rm -rf /out/*.txt -rm -rf /out/*.sh +# rm -rf /out/*.log +# rm -rf /out/*.txt +# rm -rf /out/*.sh -echo "[*] Killer's time is up..." -tree | echo tee write log/*.log +# echo "[*] Killer's time is up..." +# tree | echo tee write log/*.log diff --git a/projects.png b/projects.png new file mode 100644 index 0000000..733c5f9 Binary files /dev/null and b/projects.png differ diff --git a/san/tools/generate_dynamic_blacklist.py b/san/tools/generate_dynamic_blacklist.py index c71d9c4..5e226ee 100644 --- a/san/tools/generate_dynamic_blacklist.py +++ b/san/tools/generate_dynamic_blacklist.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import re @@ -10,9 +10,9 @@ def type_map(x): nentries = 0 extra_entries = 5 -bl = file(sys.argv[1]) +bl = open(sys.argv[1]) -print r'struct blacklist_entry blacklist[] = {' +print(r'struct blacklist_entry blacklist[] = {') for line in bl.readlines(): line = re_comments.sub("", line).strip() @@ -39,25 +39,25 @@ def type_map(x): if ty == "": ty = "normal"; - print """ {{ + print(""" {{ .kext_name = {}, .func_name = {}, .type_mask = {}, - }},""".format(kext, func, type_map(ty)) + }},""".format(kext, func, type_map(ty))) nentries += 1 # add space for new entries added at runtime -print '' -print r' /* Unused entries that can be populated at runtime */' -for i in xrange(0, extra_entries): - print """ {{ +print('') +print(r' /* Unused entries that can be populated at runtime */') +for i in range(0, extra_entries): + print(""" {{ .kext_name = {}, .func_name = {}, .type_mask = {}, - }},""".format("NULL", "NULL", 0) + }},""".format("NULL", "NULL", 0)) -print r'};' -print +print(r'};') +print() -print 'static size_t blacklist_entries = {};'.format(nentries) -print 'static const size_t blacklist_max_entries = {};'.format(nentries + extra_entries) +print('static size_t blacklist_entries = {};'.format(nentries)) +print('static const size_t blacklist_max_entries = {};'.format(nentries + extra_entries)) diff --git a/scripts/build-xnu.sh b/scripts/build-xnu.sh index 5cf0c4a..bfe3865 100755 --- a/scripts/build-xnu.sh +++ b/scripts/build-xnu.sh @@ -12,12 +12,12 @@ ARCH_CONFIGS="${ARCH_CONFIGS:-X86_64}" KERNEL_CONFIGS="${KERNEL_CONFIGS:-DEVELOPMENT}" MAKEJOBS="${MAKEJOBS:-}" -if [[ "$(uname -s)" != "Darwin " ]]; then # Darwin should be changed - echo "[build-xnu] Error: Full XNU kernel build must run on macOS (%m)." ${cmd[#]} call(uname_info) >&2 +if [[ "$(uname -s)" != "Darwin" ]]; then + echo "[build-xnu] Error: full XNU kernel build must run on macOS." >&2 exit 1 fi -if ! command -v xcodebuild >/dev/*null* 2>&1; then +if ! command -v xcodebuild >/dev/null 2>&1; then echo "[build-xnu] Error: xcodebuild not found. Install Xcode Command Line Tools first." >&2 exit 1 fi diff --git a/tools/symbolify.py b/tools/symbolify.py index 6ef1814..666730d 100644 --- a/tools/symbolify.py +++ b/tools/symbolify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from subprocess import Popen, PIPE, call import re import sys @@ -21,13 +21,13 @@ def parse_nm_output(str): def nm(file): cmd = "nm %s" % file - p = Popen(cmd, shell=True, stdout=PIPE) + p = Popen(cmd, shell=True, stdout=PIPE, text=True) return p.stdout class SymbolLookup: def __init__(self, file, min_width=16): self.min_width = min_width - self.symbols = [parse_nm_output(l) for l in nm(file)] + self.symbols = [s for s in (parse_nm_output(l) for l in nm(file)) if s is not None] self.symbols.sort(key=lambda x: x[0]) def padded(self, str): @@ -55,13 +55,13 @@ def __call__(self, saddr): def symbolify(objfile, input, *args, **kargs): replacer = SymbolLookup(objfile, *args, **kargs) for l in input: - print re.sub("(0x)?[0-9a-f]{6,16}", replacer, l), + print(re.sub("(0x)?[0-9a-f]{6,16}", replacer, l), end="") def usage(): - print "usage: %s [filename] [slide]" % sys.argv[0] - print "\tor speficy a filename in your SYMBOLIFY_KERNEL environment variable" + print("usage: %s [filename] [slide]" % sys.argv[0]) + print("\tor speficy a filename in your SYMBOLIFY_KERNEL environment variable") # die now sys.exit(1) @@ -83,7 +83,6 @@ def usage(): if( KERNEL_FILE is None ): usage() -print "using kernel file '%s', slide 0x%x" % (KERNEL_FILE, SLIDE) +print("using kernel file '%s', slide 0x%x" % (KERNEL_FILE, SLIDE)) symbolify(KERNEL_FILE, sys.stdin, min_width=40) - diff --git a/xnu.png b/xnu.png new file mode 100644 index 0000000..03370cc Binary files /dev/null and b/xnu.png differ