owasp / igoat-swift Goto Github PK
View Code? Open in Web Editor NEWOWASP iGoat (Swift) - A Damn Vulnerable Swift Application for iOS
Home Page: https://igoatapp.com/
License: GNU General Public License v3.0
OWASP iGoat (Swift) - A Damn Vulnerable Swift Application for iOS
Home Page: https://igoatapp.com/
License: GNU General Public License v3.0
I believe the articles.sqlite file is missing. Could you provide the table definition and I can create my own articles.sqlite file?
Try cloning this repo and trying to run the project.
This is my environment:
I am getting this error on this line SideMenuController.swift | L.424
.
return UIApplication.shared.statusBarUIView as? UIWindow
I found tricky ways to solve this issue to replace those codes this code:
let s = "status"
let b = "Bar"
let w = "Window"
return UIApplication.shared.value(forKey: s+b+w) as? UIWindow
Code obtained from teodorpatras/SideMenuController.
Also, don't forget to add arm64
in excluded architecture in the build settings for Apple Silicon users.
Are there any plans to include an updated IPA file to replace the outdated one?
When clicking the submit
button on the server communication
section of the data protection (transit)
menu the app just crashes out
Let's move http://igoatapp.com/ to HTTPS.
I'm trying add repo but It cannot find.
Looks like the 3rd party library used for the side bar navigation is using deprecated APIs. Building and running the app on iOS 13 causes the following crash when pressing the side bar menu icon:
*** Assertion failure in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3901.4.2/UIApplication.m:5330
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c70ff8 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff256e9b51 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIKitCore 0x00007fff4809421c -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] + 255
5 UIKitCore 0x00007fff480946ed -[UIApplication statusBarWindow] + 24
6 Foundation 0x00007fff25712bba -[NSObject(NSKeyValueCoding) valueForKey:] + 317
7 iGoat-Swift 0x00000001072c1c4a $s11iGoat_Swift18SideMenuControllerC3sbw33_CA8FFE2A6256EED9B4DC5F1CD153A4DDLLSo8UIWindowCSgvg + 458
8 iGoat-Swift 0x00000001072bf378 $s11iGoat_Swift18SideMenuControllerC3set15statusBarHidden8animatedySb_SbtF + 280
9 iGoat-Swift 0x00000001072c0446 $s11iGoat_Swift18SideMenuControllerC7animate8toRevealySb_tF + 230
10 iGoat-Swift 0x00000001072b5e51 $s11iGoat_Swift18SideMenuControllerC6toggleyyF + 609
11 iGoat-Swift 0x00000001072b5e8b $s11iGoat_Swift18SideMenuControllerC6toggleyyFTo + 43
12 UIKitCore 0x00007fff48093fff -[UIApplication sendAction:to:from:forEvent:] + 83
13 UIKitCore 0x00007fff47a6c00e -[UIControl sendAction:to:forEvent:] + 223
14 UIKitCore 0x00007fff47a6c358 -[UIControl _sendActionsForEvents:withEvent:] + 398
15 UIKitCore 0x00007fff47a6b2b7 -[UIControl touchesEnded:withEvent:] + 481
16 UIKitCore 0x00007fff480cebbf -[UIWindow _sendTouchesForEvent:] + 2604
17 UIKitCore 0x00007fff480d04c6 -[UIWindow sendEvent:] + 4596
18 UIKitCore 0x00007fff480ab53b -[UIApplication sendEvent:] + 356
19 UIKit 0x000000010aa75bd4 -[UIApplicationAccessibility sendEvent:] + 85
20 UIKitCore 0x00007fff4812c71a __dispatchPreprocessedEventFromEventQueue + 6847
21 UIKitCore 0x00007fff4812f1e0 __handleEventQueueInternal + 5980
22 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76
24 CoreFoundation 0x00007fff23bd3bcc __CFRunLoopDoSources0 + 268
25 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263
26 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
27 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
28 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
29 iGoat-Swift 0x00000001072ca478 main + 72
30 libdyld.dylib 0x00007fff5227ec25 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Hi, 2020
I have trouble building on simulator.
"Building for iOS Simulator, but the embedded framework 'Realm.framework' was built for iOS + iOS Simulator."
Who know about this issue?
My environment are
CloudMisconfigurationExerciseVC
has a compiler error in its UIViewController
extension:
extension UIViewController {
@IBAction func textFieldReturn(sender: UITextField) {
sender.resignFirstResponder
}
}
resignFirstResponder
should be a function call: sender.resignFirstResponder()
Crypto Challenge Exercise need call the url http://localhost:8082/checkout/.
However, I cannot find the 8082 service is up.
iGoat cydia repo seems empty. Fix it at https://swiftigoat.yourepo.com/
ive opened the xcode project and attempt to build but in the insecure data storage -- Realm -- RealmExerciseVC, i get 'no such module 'realm' . ive run pod install and made sure cocoapods is up to date, deleted the derived data directory and cleaned the build. still getting the error. not sure what else to do.
Donate button provided on Github repo is not working. Its redirecting to non-existing Github page.
After starting exercise Data Protection (Rest) -> Webkit Cache, application crashes and user gets out of the app.
I got an idea about How URLSchemeAttack happened? Now I'm looking for the solution to avoide it.
Error:
$ ./igoat_server.rb
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/opt in PATH, mode 04077
Traceback (most recent call last):
2: from ./igoat_server.rb:57:in <main>' 1: from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:92:in
require'
/Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- sinatra/base (LoadError)
System Config:
Mac os: Cataline 10.15.6
Ruby Version: ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.