immuniweb / iwtools

ImmuniWeb® Community Edition CLI for CI/CD
Other
31 stars 16 forks source link

Error for iOS app scan #1

Open kushal154 opened 3 years ago

kushal154 commented 3 years ago

It is throwing a following error while scanning the iOS mobile app:

$ ./iwtools.py mobile "https://apps.apple.com/us/app/bluecoin-iot-app/id1451587022"

ImmuniWeb® Community Edition: Mobile App Security Test

Target: https://apps.apple.com/us/app/bluecoin-iot-app/id1451587022

Traceback (most recent call last):
  File "./iwtools.py", line 116, in <module>
    main()
  File "./iwtools.py", line 93, in main
    test.print_report()
  File "/home/kushal/mobiletest/iwtools/iwtools/services/mobile.py", line 231, in print_report
    owasp_color = self.normalize_color(test_results['scores']['owasp_top_10']['class'])
TypeError: list indices must be integers or slices, not str
immuniweb commented 3 years ago

iOS apps shoud be compiled as a Simulator App, downloads from App Store not supported. Please check https://www.immuniweb.com/mobile/howto

We will tweak error hanling, thanks.