当前位置: 首页 > article >正文

PrivescCheck高级用法:自定义检查模块和扩展功能开发终极指南

PrivescCheck高级用法自定义检查模块和扩展功能开发终极指南【免费下载链接】PrivescCheckPrivilege Escalation Enumeration Script for Windows项目地址: https://gitcode.com/gh_mirrors/pr/PrivescCheckPrivescCheck是一款强大的Windows权限提升枚举脚本专为渗透测试人员和安全研究人员设计用于快速识别Windows系统中的安全漏洞和配置问题。本文将为新手和普通用户深入讲解如何利用PrivescCheck的高级功能包括自定义检查模块开发和功能扩展帮助你充分发挥这个强大工具的全部潜力。 为什么需要自定义检查模块PrivescCheck默认提供了超过100个安全检查项覆盖了从用户权限到系统配置的各个方面。然而在实际渗透测试和安全审计中你可能会遇到一些特殊场景特定企业环境的定制化检查需求新型攻击技术的快速检测特定应用程序的安全评估合规性要求的特殊检查通过自定义检查模块你可以根据实际需求扩展PrivescCheck的功能创建针对性的安全检查方案。PrivescCheck生成的HTML格式安全报告清晰展示高风险和中风险漏洞 PrivescCheck项目架构深度解析在开始自定义开发前让我们先了解PrivescCheck的项目结构核心目录结构src/check/- 所有检查模块的源代码Applications.ps1 - 应用程序相关检查Configuration.ps1 - 系统配置检查Credentials.ps1 - 凭据相关检查User.ps1 - 用户权限和组检查Services.ps1 - 服务配置检查src/core/- 核心功能模块src/helper/- 辅助函数库data/- 配置数据文件Checks.csv - 检查项配置文件检查模块工作机制PrivescCheck采用模块化设计每个检查模块都是一个独立的PowerShell函数。主程序Main.ps1负责调度所有检查模块并根据Checks.csv中的配置决定执行哪些检查。️ 创建自定义检查模块的完整步骤步骤1理解检查模块的基本结构每个检查模块都遵循相同的模式。让我们以User.ps1中的Invoke-UserCheck函数为例function Invoke-UserCheck { [CmdletBinding()] param( [UInt32] $BaseSeverity ) # 执行检查逻辑 $Results () # 构建结果对象 $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) $Result }步骤2在Checks.csv中注册新检查项要向PrivescCheck添加新的检查项你需要在data/Checks.csv文件中添加一行配置MY_CUSTOM_CHECK,Invoke-MyCustomCheck,TA0004 - Privilege Escalation,自定义检查名称,Medium,List,Extended,False,False,自定义检查的描述信息各字段含义Id: 检查的唯一标识符Command: 要执行的PowerShell函数名Category: 检查类别如TA0004 - Privilege EscalationDisplayName: 显示名称Severity: 严重级别None/Low/Medium/HighFormat: 输出格式Table/ListType: 检查类型Base/Extended/Audit/ExperimentalRunIfAdmin: 是否以管理员身份运行Risky: 是否为高风险检查Description: 检查描述步骤3编写自定义检查函数创建一个新的PowerShell脚本文件例如CustomChecks.ps1并添加你的自定义检查函数function Invoke-MyCustomCheck { # .SYNOPSIS 检查自定义安全配置 .DESCRIPTION 检查特定的安全配置是否符合最佳实践 .PARAMETER BaseSeverity 基础严重级别 .EXAMPLE PS C:\ Invoke-MyCustomCheck -BaseSeverity 2 # [CmdletBinding()] param( [UInt32] $BaseSeverity ) $Results () # 示例检查注册表项 $RegistryPath HKLM:\SOFTWARE\CustomApp if (Test-Path $RegistryPath) { $Value Get-ItemProperty -Path $RegistryPath -Name SecureSetting -ErrorAction SilentlyContinue if ($Value.SecureSetting -eq Enabled) { $CheckResult New-Object -TypeName PSObject $CheckResult | Add-Member -MemberType NoteProperty -Name Setting -Value SecureSetting $CheckResult | Add-Member -MemberType NoteProperty -Name Status -Value 已启用 $CheckResult | Add-Member -MemberType NoteProperty -Name Risk -Value 低 $Results $CheckResult } else { $CheckResult New-Object -TypeName PSObject $CheckResult | Add-Member -MemberType NoteProperty -Name Setting -Value SecureSetting $CheckResult | Add-Member -MemberType NoteProperty -Name Status -Value 未启用 $CheckResult | Add-Member -MemberType NoteProperty -Name Risk -Value 高 $Results $CheckResult } } $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) $Result }步骤4集成自定义检查到主脚本将你的自定义检查函数集成到PrivescCheck主脚本中将自定义检查函数添加到相应的检查模块文件中确保函数在脚本中被正确加载测试检查功能是否正常工作 实际案例创建Web应用安全检查模块让我们创建一个实用的自定义检查模块用于检查常见Web应用的安全配置function Invoke-WebAppSecurityCheck { # .SYNOPSIS 检查Web应用安全配置 .DESCRIPTION 检查IIS、Apache等Web服务器的安全配置 .PARAMETER BaseSeverity 基础严重级别 # [CmdletBinding()] param( [UInt32] $BaseSeverity ) $Results () # 检查IIS是否安装 if (Get-Service -Name W3SVC -ErrorAction SilentlyContinue) { $IISResult New-Object -TypeName PSObject $IISResult | Add-Member -MemberType NoteProperty -Name 组件 -Value IIS服务 $IISResult | Add-Member -MemberType NoteProperty -Name 状态 -Value 已安装 $IISResult | Add-Member -MemberType NoteProperty -Name 建议 -Value 检查Web配置安全性 $Results $IISResult # 检查IIS日志配置 $LogPath C:\inetpub\logs\LogFiles if (Test-Path $LogPath) { $LogResult New-Object -TypeName PSObject $LogResult | Add-Member -MemberType NoteProperty -Name 组件 -Value IIS日志 $LogResult | Add-Member -MemberType NoteProperty -Name 路径 -Value $LogPath $LogResult | Add-Member -MemberType NoteProperty -Name 权限 -Value 需检查访问控制 $Results $LogResult } } # 检查Apache是否安装 $ApacheServices Get-Service | Where-Object { $_.Name -like *apache* -or $_.DisplayName -like *Apache* } if ($ApacheServices) { foreach ($Service in $ApacheServices) { $ApacheResult New-Object -TypeName PSObject $ApacheResult | Add-Member -MemberType NoteProperty -Name 组件 -Value Apache服务 $ApacheResult | Add-Member -MemberType NoteProperty -Name 服务名 -Value $Service.Name $ApacheResult | Add-Member -MemberType NoteProperty -Name 状态 -Value $Service.Status $Results $ApacheResult } } $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) $Result } 高级扩展功能开发技巧1. 利用辅助函数库PrivescCheck提供了丰富的辅助函数位于src/helper/目录中AccessControl.ps1- 访问控制相关函数SystemInformation.ps1- 系统信息收集函数Utility.ps1- 通用工具函数2. 实现多线程检查对于需要扫描大量文件或注册表项的检查可以使用多线程提高性能function Invoke-ParallelFileCheck { param( [UInt32] $BaseSeverity ) # 使用PowerShell作业实现并行处理 $Files Get-ChildItem -Path C:\Program Files -Recurse -Filter *.exe -ErrorAction SilentlyContinue $Jobs () foreach ($File in $Files) { $ScriptBlock { param($FilePath) # 检查文件权限 $Acl Get-Acl -Path $FilePath $Permissions $Acl.Access | Where-Object { $_.FileSystemRights -match Write|Modify|FullControl -and $_.IdentityReference -notmatch SYSTEM|Administrators } if ($Permissions) { [PSCustomObject]{ File $FilePath Permissions $Permissions.IdentityReference } } } $Job Start-Job -ScriptBlock $ScriptBlock -ArgumentList $File.FullName $Jobs $Job } $Results Receive-Job -Job $Jobs -Wait -AutoRemoveJob # 处理结果... }3. 集成外部数据源你可以将外部威胁情报集成到检查模块中function Invoke-ThreatIntelligenceCheck { param( [UInt32] $BaseSeverity ) # 从外部API获取威胁情报 $ThreatIntelUrl https://api.threatintel.example.com/indicators try { $Response Invoke-RestMethod -Uri $ThreatIntelUrl -Method Get $Indicators $Response.indicators # 检查系统进程是否匹配威胁指标 $Processes Get-Process | Select-Object Name, Id, Path $Matches () foreach ($Process in $Processes) { foreach ($Indicator in $Indicators) { if ($Process.Path -like *$Indicator*) { $Matches [PSCustomObject]{ ProcessName $Process.Name ProcessPath $Process.Path Indicator $Indicator } } } } # 返回检查结果 $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Matches $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Matches) { $BaseSeverity } else { $script:SeverityLevel::None }) return $Result } catch { Write-Warning 无法获取威胁情报: $_ } } 自定义报告生成PrivescCheck支持多种报告格式TXT、HTML、CSV、XML。你可以扩展报告生成功能PrivescCheck生成的纯文本报告使用ASCII表格清晰展示检查结果创建自定义报告模板function Write-CustomReport { param( [object[]] $AllResults ) $ReportContent # 自定义安全审计报告 生成时间: $(Get-Date -Format yyyy-MM-dd HH:mm:ss) 系统名称: $($env:COMPUTERNAME) 用户: $($env:USERNAME) ## 检查摘要 总检查项: $($AllResults.Count) 高风险项: $(($AllResults | Where-Object { $_.Severity -eq High }).Count) 中风险项: $(($AllResults | Where-Object { $_.Severity -eq Medium }).Count) 低风险项: $(($AllResults | Where-Object { $_.Severity -eq Low }).Count) ## 详细结果 foreach ($Result in $AllResults | Sort-Object -Property Category, DisplayName) { $ReportContent ### $($Result.Category) - $($Result.DisplayName) 严重级别: $($Result.Severity) 描述: $($Result.Description) $($Result.ResultRawString) } $ReportContent } 最佳实践和注意事项1. 性能优化建议缓存检查结果: 对于耗时的检查考虑缓存结果以避免重复执行并行处理: 使用PowerShell作业或工作流实现并行检查增量检查: 只检查发生变化的部分提高效率2. 错误处理策略function Invoke-RobustCheck { param( [UInt32] $BaseSeverity ) try { # 尝试执行主要检查逻辑 $Results () # 添加错误处理 $ErrorActionPreference Stop # 检查逻辑... $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) return $Result } catch { Write-Warning 检查执行失败: $_ # 返回错误信息 $ErrorResult New-Object -TypeName PSObject $ErrorResult | Add-Member -MemberType NoteProperty -Name Error -Value $_.Exception.Message $ErrorResult | Add-Member -MemberType NoteProperty -Name Severity -Value $script:SeverityLevel::None return $ErrorResult } }3. 兼容性考虑支持多版本Windows: 确保检查模块在不同Windows版本上都能正常工作权限要求: 明确标注检查所需的最低权限级别依赖项: 列出检查模块的外部依赖 测试和验证自定义模块单元测试框架创建简单的测试脚本验证自定义检查模块# Test-CustomChecks.ps1 Import-Module .\CustomChecks.ps1 -Force Write-Host 测试自定义检查模块... -ForegroundColor Cyan # 测试Web应用安全检查 $WebAppResult Invoke-WebAppSecurityCheck -BaseSeverity 2 Write-Host Web应用安全检查结果: -ForegroundColor Yellow $WebAppResult.Result | Format-Table -AutoSize # 测试威胁情报检查 $ThreatIntelResult Invoke-ThreatIntelligenceCheck -BaseSeverity 3 Write-Host 威胁情报检查结果: -ForegroundColor Yellow $ThreatIntelResult.Result | Format-Table -AutoSize Write-Host 测试完成! -ForegroundColor Green集成测试将自定义模块集成到PrivescCheck中进行完整测试# 1. 将自定义检查添加到Checks.csv # 2. 将自定义函数添加到主脚本或单独模块 # 3. 运行完整测试 powershell -ep bypass -c . .\PrivescCheck.ps1; Invoke-PrivescCheck -Extended -Report CustomTest 实用自定义检查模块示例示例1Docker安全配置检查function Invoke-DockerSecurityCheck { # .SYNOPSIS 检查Docker容器安全配置 .DESCRIPTION 检查Docker安装、配置和运行容器的安全性 # [CmdletBinding()] param( [UInt32] $BaseSeverity ) $Results () # 检查Docker是否安装 if (Get-Command docker -ErrorAction SilentlyContinue) { $DockerResult New-Object -TypeName PSObject $DockerResult | Add-Member -MemberType NoteProperty -Name 组件 -Value Docker $DockerResult | Add-Member -MemberType NoteProperty -Name 状态 -Value 已安装 $Results $DockerResult # 检查Docker服务运行状态 $DockerService Get-Service -Name docker -ErrorAction SilentlyContinue if ($DockerService) { $ServiceResult New-Object -TypeName PSObject $ServiceResult | Add-Member -MemberType NoteProperty -Name 服务 -Value Docker服务 $ServiceResult | Add-Member -MemberType NoteProperty -Name 状态 -Value $DockerService.Status $Results $ServiceResult } # 检查运行中的容器 try { $Containers docker ps --format {{.Names}}|{{.Image}}|{{.Status}} 2$null if ($Containers) { foreach ($Container in $Containers) { $ContainerInfo $Container -split \| $ContainerResult New-Object -TypeName PSObject $ContainerResult | Add-Member -MemberType NoteProperty -Name 容器名称 -Value $ContainerInfo[0] $ContainerResult | Add-Member -MemberType NoteProperty -Name 镜像 -Value $ContainerInfo[1] $ContainerResult | Add-Member -MemberType NoteProperty -Name 状态 -Value $ContainerInfo[2] $Results $ContainerResult } } } catch { Write-Verbose 无法获取容器信息: $_ } } $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) $Result }示例2云服务配置检查function Invoke-CloudServiceCheck { # .SYNOPSIS 检查云服务配置安全性 .DESCRIPTION 检查AWS、Azure等云服务的本地配置安全性 # [CmdletBinding()] param( [UInt32] $BaseSeverity ) $Results () # 检查AWS CLI配置 $AwsConfigPath $env:USERPROFILE\.aws\credentials if (Test-Path $AwsConfigPath) { $AwsResult New-Object -TypeName PSObject $AwsResult | Add-Member -MemberType NoteProperty -Name 服务 -Value AWS CLI $AwsResult | Add-Member -MemberType NoteProperty -Name 配置文件 -Value $AwsConfigPath $AwsResult | Add-Member -MemberType NoteProperty -Name 风险 -Value 中 - 检查凭据文件权限 $Results $AwsResult # 检查文件权限 $Acl Get-Acl -Path $AwsConfigPath $Permissions $Acl.Access | Where-Object { $_.FileSystemRights -match Read|Write|FullControl -and $_.IdentityReference -notmatch $env:USERNAME } if ($Permissions) { $PermissionResult New-Object -TypeName PSObject $PermissionResult | Add-Member -MemberType NoteProperty -Name 文件 -Value $AwsConfigPath $PermissionResult | Add-Member -MemberType NoteProperty -Name 异常权限 -Value ($Permissions.IdentityReference -join , ) $PermissionResult | Add-Member -MemberType NoteProperty -Name 建议 -Value 限制访问权限 $Results $PermissionResult } } # 检查Azure CLI配置 $AzureConfigPath $env:USERPROFILE\.azure if (Test-Path $AzureConfigPath) { $AzureResult New-Object -TypeName PSObject $AzureResult | Add-Member -MemberType NoteProperty -Name 服务 -Value Azure CLI $AzureResult | Add-Member -MemberType NoteProperty -Name 配置目录 -Value $AzureConfigPath $AzureResult | Add-Member -MemberType NoteProperty -Name 风险 -Value 中 - 检查目录权限 $Results $AzureResult } $Result New-Object -TypeName PSObject $Result | Add-Member -MemberType NoteProperty -Name Result -Value $Results $Result | Add-Member -MemberType NoteProperty -Name Severity -Value $(if ($Results) { $BaseSeverity } else { $script:SeverityLevel::None }) $Result } 学习资源和进阶指南官方文档和资源核心模块文档: 详细阅读src/check/目录下的现有检查模块辅助函数库: 充分利用src/helper/中的工具函数配置管理: 深入理解data/Checks.csv的配置格式社区贡献GitHub仓库: 关注项目的更新和社区贡献问题追踪: 学习其他用户遇到的问题和解决方案Pull Requests: 参与项目开发贡献自己的检查模块持续学习安全最佳实践: 了解最新的Windows安全配置最佳实践攻击技术: 跟踪最新的权限提升攻击技术防御策略: 学习如何将PrivescCheck集成到防御体系中 总结通过本文的详细讲解你现在应该已经掌握了PrivescCheck自定义检查模块和扩展功能开发的完整知识体系。从基础的项目架构理解到实际的自定义模块开发再到高级的扩展功能实现你已经具备了将PrivescCheck定制化为适合自己需求的强大工具的能力。记住安全是一个持续的过程自定义检查模块的开发也是如此。随着新的安全威胁不断出现你需要不断更新和完善你的检查模块。PrivescCheck的模块化设计为你提供了极大的灵活性让你能够快速响应新的安全挑战。开始创建你的第一个自定义检查模块吧让PrivescCheck成为你安全工具箱中更加强大的武器【免费下载链接】PrivescCheckPrivilege Escalation Enumeration Script for Windows项目地址: https://gitcode.com/gh_mirrors/pr/PrivescCheck创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

相关文章:

PrivescCheck高级用法:自定义检查模块和扩展功能开发终极指南

PrivescCheck高级用法:自定义检查模块和扩展功能开发终极指南 【免费下载链接】PrivescCheck Privilege Escalation Enumeration Script for Windows 项目地址: https://gitcode.com/gh_mirrors/pr/PrivescCheck PrivescCheck是一款强大的Windows权限提升枚举…...

如何用MkDocs快速构建专业级文档网站:从入门到部署的完整指南

如何用MkDocs快速构建专业级文档网站:从入门到部署的完整指南 【免费下载链接】mkdocs Project documentation with Markdown. 项目地址: https://gitcode.com/gh_mirrors/mk/mkdocs MkDocs是一款基于Markdown的快速、简单且美观的静态网站生成器&#xff0c…...

如何快速掌握Jest测试框架:JavaScript测试的终极指南

如何快速掌握Jest测试框架:JavaScript测试的终极指南 【免费下载链接】jest Delightful JavaScript Testing. 项目地址: https://gitcode.com/gh_mirrors/je/jest Jest测试框架是当今最受欢迎的JavaScript测试工具之一,它让JavaScript测试变得简单…...

acados:革命性非线性最优控制求解器,嵌入式实时MPC的终极解决方案

acados:革命性非线性最优控制求解器,嵌入式实时MPC的终极解决方案 【免费下载链接】acados Fast and embedded solvers for nonlinear optimal control 项目地址: https://gitcode.com/gh_mirrors/ac/acados acados是一款专为非线性最优控制打造的…...

Android视频播放开发:SimpleVideoView项目技术解析与实战指南

Android视频播放开发:SimpleVideoView项目技术解析与实战指南 【免费下载链接】android-advanced Solution apps for the apps that students create as they work through the Advanced Android Development training course created by Google Developer Training…...

SideFXLabs高级渲染技巧:Karma集成与材质系统优化

SideFXLabs高级渲染技巧:Karma集成与材质系统优化 【免费下载链接】SideFXLabs 项目地址: https://gitcode.com/gh_mirrors/si/SideFXLabs SideFXLabs是Houdini生态中强大的开源工具集,提供了丰富的渲染优化功能和材质处理节点。本文将深入探讨如…...

WebGAL图形化编辑器深度体验:零代码创作专业级视觉小说

WebGAL图形化编辑器深度体验:零代码创作专业级视觉小说 【免费下载链接】WebGAL A brand new web Visual Novel engine | 全新的网页端视觉小说引擎 项目地址: https://gitcode.com/gh_mirrors/we/WebGAL WebGAL是一款全新的网页端视觉小说引擎,它…...

Spec Workflow MCP深度解析:如何实现规范驱动的智能开发流程

Spec Workflow MCP深度解析:如何实现规范驱动的智能开发流程 【免费下载链接】spec-workflow-mcp A Model Context Protocol (MCP) server that provides structured spec-driven development workflow tools for AI-assisted software development, featuring a re…...

Music-Player的5大核心技术:深度解析Material Design动画实现

Music-Player的5大核心技术:深度解析Material Design动画实现 【免费下载链接】Music-Player From UI Proposal to Code :notes::arrow_forward: 项目地址: https://gitcode.com/gh_mirrors/mu/Music-Player Music-Player是一款基于Material Design规范开发的…...

Ink/Stitch十字绣助手完全教程:从图案到成品

Ink/Stitch十字绣助手完全教程:从图案到成品 【免费下载链接】inkstitch Ink/Stitch: an Inkscape extension for machine embroidery design 项目地址: https://gitcode.com/gh_mirrors/in/inkstitch Ink/Stitch是一款强大的Inkscape扩展工具,专…...

Apache NuttX构建系统详解:CMake、Kconfig和Makefile的最佳实践指南

Apache NuttX构建系统详解:CMake、Kconfig和Makefile的最佳实践指南 【免费下载链接】nuttx 项目地址: https://gitcode.com/gh_mirrors/in/incubator-nuttx Apache NuttX构建系统是一个强大而灵活的三层架构,专为嵌入式实时操作系统设计。这个构…...

Fenjing源码解析:核心组件与规则引擎的设计思路

Fenjing源码解析:核心组件与规则引擎的设计思路 【免费下载链接】Fenjing 项目地址: https://gitcode.com/gh_mirrors/fe/Fenjing Fenjing是一款功能强大的安全测试工具,其核心组件与规则引擎的设计思路为安全测试提供了高效解决方案。本文将深入…...

HyperDbg透明模式深度解析:如何实现抗检测调试

HyperDbg透明模式深度解析:如何实现抗检测调试 【免费下载链接】HyperDbg State-of-the-art native debugging tool 项目地址: https://gitcode.com/gh_mirrors/hy/HyperDbg HyperDbg透明模式是这款先进原生调试工具的核心反检测功能,它让调试器在…...

gh_mirrors/api8/api企业级部署指南:Docker容器化与CI/CD最佳实践

gh_mirrors/api8/api企业级部署指南:Docker容器化与CI/CD最佳实践 【免费下载链接】api 🏁🛠️ SaaS backend & API framework based on nestjs 项目地址: https://gitcode.com/gh_mirrors/api8/api gh_mirrors/api8/api是一个基于…...

Ignite网络配置完全指南:如何为微虚拟机设置CNI网络

Ignite网络配置完全指南:如何为微虚拟机设置CNI网络 【免费下载链接】ignite Ignite a Firecracker microVM 项目地址: https://gitcode.com/gh_mirrors/igni/ignite 在微虚拟机(microVM)的世界中,网络配置是连接虚拟环境与…...

Ink/Stitch高级技巧:自动路径优化和针迹密度控制

Ink/Stitch高级技巧:自动路径优化和针迹密度控制 【免费下载链接】inkstitch Ink/Stitch: an Inkscape extension for machine embroidery design 项目地址: https://gitcode.com/gh_mirrors/in/inkstitch Ink/Stitch作为一款强大的Inkscape刺绣设计插件&…...

【openbmc4】gpio sgpio

文章目录 1.gpio 1.1 驱动 1.2 外部watchdog 1.3 x86-power-control 1.4 led 1.5 ltpi 2.sgpio 1.gpio 如下2个base的控制器地址不一样。find / -name base。 # 导出GPIO: (linux内核自带)eg: echo 943 > /sys/class/gpio/export #执行完后,如果该gpio接口存在且未被占…...

CSVtoTable与Jinja2模板引擎:深入了解HTML生成的核心机制

CSVtoTable与Jinja2模板引擎:深入了解HTML生成的核心机制 【免费下载链接】csvtotable Simple command-line utility to convert CSV files to searchable and sortable HTML table. 项目地址: https://gitcode.com/gh_mirrors/cs/csvtotable CSVtoTable是一…...

Claude HUD性能基准测试:评估与提升系统响应速度

Claude HUD性能基准测试:评估与提升系统响应速度 【免费下载链接】claude-hud A Claude Code plugin that shows whats happening - context usage, active tools, running agents, and todo progress 项目地址: https://gitcode.com/GitHub_Trending/cl/claude-h…...

如何使用iCloud Document Sync:轻松实现跨设备文件同步的完整指南

如何使用iCloud Document Sync:轻松实现跨设备文件同步的完整指南 【免费下载链接】iCloudDocumentSync 项目地址: https://gitcode.com/gh_mirrors/icl/iCloudDocumentSync iCloud Document Sync是一款强大的开源项目,专为iOS设备用户打造&…...

2FAuth深度评测:为什么它比Google Authenticator更适合个人使用

2FAuth深度评测:为什么它比Google Authenticator更适合个人使用 【免费下载链接】2FAuth A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes 项目地址: https://gitcode.com/gh_mirrors/2f/2FAuth 2FAu…...

终极指南:如何利用Pyproj免费高效处理地理空间数据

终极指南:如何利用Pyproj免费高效处理地理空间数据 【免费下载链接】pyproj 项目地址: https://gitcode.com/gh_mirrors/pyp/pyproj Pyproj是一个强大的Python库,专门用于处理地理空间数据的坐标转换和地图投影。作为PROJ库的Python接口&#xf…...

Obsidian Sample Plugin 实战教程:10个必学的开发技巧

Obsidian Sample Plugin 实战教程:10个必学的开发技巧 【免费下载链接】obsidian-sample-plugin 项目地址: https://gitcode.com/GitHub_Trending/ob/obsidian-sample-plugin Obsidian Sample Plugin 是一款基于 TypeScript 开发的 Obsidian 插件示例项目&a…...

Deepagents股东价值:AI代理如何提升企业投资回报率

Deepagents股东价值:AI代理如何提升企业投资回报率 【免费下载链接】deepagents Deepagents is an agent harness built on langchain and langgraph. Deep agents are equipped with a planning tool, a filesystem backend, and the ability to spawn subagents -…...

7天从小白到高手:Spring Boot学习案例项目的终极指南

7天从小白到高手:Spring Boot学习案例项目的终极指南 【免费下载链接】springboot-learning-example spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。 项目地址: https://gitcode.com/gh_mirrors/sp/springboot-learning-e…...

终极SaaS开发利器:gh_mirrors/api8/api核心功能全解析

终极SaaS开发利器:gh_mirrors/api8/api核心功能全解析 【免费下载链接】api 🏁🛠️ SaaS backend & API framework based on nestjs 项目地址: https://gitcode.com/gh_mirrors/api8/api 🚀 快速构建SaaS应用的后端框架…...

Atlas部署运维指南:从开发环境到生产环境的完整配置

Atlas部署运维指南:从开发环境到生产环境的完整配置 【免费下载链接】atlas In-memory dimensional time series database. 项目地址: https://gitcode.com/gh_mirrors/atla/atlas Atlas是一款高性能的内存维度时间序列数据库,专为处理大规模时间…...

ImageOptim-CLI性能优化技巧:如何设置批处理大小和并行处理

ImageOptim-CLI性能优化技巧:如何设置批处理大小和并行处理 【免费下载链接】ImageOptim-CLI Make optimisation of images part of your automated build process 项目地址: https://gitcode.com/gh_mirrors/im/ImageOptim-CLI ImageOptim-CLI是一款强大的命…...

2FAuth企业级应用场景:团队协作、权限管理和安全审计全攻略

2FAuth企业级应用场景:团队协作、权限管理和安全审计全攻略 【免费下载链接】2FAuth A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes 项目地址: https://gitcode.com/gh_mirrors/2f/2FAuth 在数字化…...

FengNiao错误处理与故障排除:解决常见问题的完整清单

FengNiao错误处理与故障排除:解决常见问题的完整清单 【免费下载链接】FengNiao A command line tool for cleaning unused resources in Xcode. 项目地址: https://gitcode.com/gh_mirrors/fe/FengNiao FengNiao是一款高效的Xcode资源清理工具,能…...