顯示頁面 舊版 反向連結 輸出PDF檔案 重新命名頁面 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== 課程講義 ====== [[https://www.dropbox.com/s/7ztmvjjipp1u0ww/Swift_Lesson9_Security_20210418-1_AI_Network.pdf?dl=0|下載連結]] ====== 網路安全練習主機與電文資訊 ====== <file> 主機URL: "http://class.softarts.cc/AppSecurity/encryptData.json" Payload 加密 Key: "zaq1xsw2cde3vfr4" Password 加密 Key Prefix: "1qaz2wsx" </file> ===== Exception Domains 設定 Key 值 ===== <file> NSExceptionAllowsInsecureHTTPLoads NSIncludesSubdomains </file> ==== SSL Pinning ==== [[https://www.ssllabs.com/ssltest/index.html |SSLLabs]] ==== 假 Pinning Hash ==== <file> "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=" </file> ==== UIWindow+Extension.swift 預設內容 ==== [[https://www.dropbox.com/s/qw438cha0wnuwf5/UIWindow%2BExtension.swift?dl=0|UIWindow+Extension.swift]] ==== main.swift 預設內容 ==== <file> import Foundation import UIKit autoreleasepool { UIApplicationMain( CommandLine.argc, UnsafeMutableRawPointer(CommandLine.unsafeArgv) .bindMemory( to: UnsafeMutablePointer<Int8>.self, capacity: Int(CommandLine.argc)), nil, NSStringFromClass(AppDelegate.self) //Or your class name ) } </file> ==== Objective-C 混淆方式參考 ==== [[https://github.com/kaich/codeobscure|codeobscure]] [[https://github.com/kongcup/ZMConfuse|ZMConfuse]] ==== Swift Jailbreak 偵測 ==== [[https://github.com/TheSwiftyCoder/JailBreak-Detection|JailBreak-Detection]] ==== TouchID/FaceID 範例程式 ==== [[https://www.dropbox.com/s/k1bc1lcmxo522zc/SwiftHelloLocalAuthentication.zip?dl=0|SwiftHelloLocalAuthentication.zip]]