Giter VIP home page Giter VIP logo

soos-dast's People

Contributors

gregjoeval avatar soos-gsteen avatar soos-jalvarez avatar soos-jjennings avatar soos-mmalony avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

soos-dast's Issues

Username Element Could not be found

Command ro run authenticated scan:
sudo docker run --network=host -it --rm soosio/dast --clientId=1rm7##@# --apiKey=REWEWDw13323wewedewwefwew3223 --projectName="IRIS" --ajaxSpider "https://example.com:8670/BPCLUSTER5702/" --authLoginURL="https://example.com:8670/BPCLUSTER5702/UserManagement" --authUsernameField=UserName --authUsername=admin --authPasswordField=Password --authPassword=tpstps_321 --scanMode=fullscan

Error :
2024-03-08 01:14:48 PM UTC [INFO] Running ZAP
2024-03-08 01:14:49 PM UTC [INFO] load_config: ['-config', 'spider.maxDuration=0', '-silent']
2024-03-08 01:14:49 PM UTC [INFO] Extra params passed by ZAP: ['-config', 'spider.maxDuration=0', '-silent']
2024-03-08 01:15:06 PM UTC [INFO] zap_started_hook is running
2024-03-08 01:15:06 PM UTC [INFO] Start webdriver
2024-03-08 13:15:06,779 Using default request storage
2024-03-08 13:15:06,802 Created proxy listening on 127.0.0.1:43059
2024-03-08 01:15:11 PM UTC [INFO] authenticate using webdriver against URL: https://example.com:8670/BPCLUSTER5702/UserManagement
2024-03-08 01:15:23 PM UTC [INFO] automatically finding login elements
2024-03-08 01:15:23 PM UTC [INFO] Trying to find element UserName
2024-03-08 01:15:23 PM UTC [INFO] Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='username') and (@type='text' or @type='email' or @type='number' or not(@type))]
2024-03-08 01:15:23 PM UTC [INFO] Built xpath: //input[(translate(@name, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='username') and (@type='text' or @type='email' or @type='number' or not(@type))]
2024-03-08 01:15:23 PM UTC [INFO] Failed to find the element UserName
Traceback (most recent call last):
File "/zap/src/zap_hooks/helpers/auth.py", line 65, in authenticate
login(driver_instance, config)
File "/zap/src/zap_hooks/helpers/auth.py", line 198, in login
username_element = fill_username(config, driver)
File "/zap/src/zap_hooks/helpers/auth.py", line 259, in fill_username
return find_and_fill_element(config.auth_username,
File "/zap/src/zap_hooks/helpers/auth.py", line 288, in find_and_fill_element
element.clear()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.