落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
$ErrorActionPreference='Stop'
|
||||
$Fat='E:\wwwroot\inquiry-new\jeecg-system-start-3.5.3.jar'
|
||||
$work=Join-Path $env:TEMP 'chk-captcha-class'
|
||||
if(Test-Path $work){Remove-Item $work -Recurse -Force}
|
||||
New-Item -ItemType Directory $work|Out-Null
|
||||
$jarCmd=$null
|
||||
foreach($c in @('C:\yutongda\tools\jdk8\bin\jar.exe','E:\wwwroot\tools\jdk-17\bin\jar.exe')){ if(Test-Path $c){ $jarCmd=$c; break } }
|
||||
Push-Location $work
|
||||
& $jarCmd xf $Fat 'BOOT-INF/lib/jeecg-system-biz-3.5.3.jar'
|
||||
& $jarCmd xf 'BOOT-INF/lib/jeecg-system-biz-3.5.3.jar' 'org/jeecg/modules/system/controller/LoginController.class'
|
||||
$classPath = Join-Path $work 'org\jeecg\modules\system\controller\LoginController.class'
|
||||
if (-not (Test-Path $classPath)) { throw ("class missing under " + $work) }
|
||||
$bytes=[IO.File]::ReadAllBytes($classPath)
|
||||
$ascii=[Text.Encoding]::ASCII.GetString($bytes)
|
||||
$has= $ascii.Contains('loginCaptchaEnabled')
|
||||
Write-Host ("has_loginCaptchaEnabled=" + $has)
|
||||
Write-Host ("class_bytes=" + $bytes.Length)
|
||||
Pop-Location
|
||||
Reference in New Issue
Block a user