{"action":"closed","issue":{"url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner/issues/55","repository_url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner","labels_url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner/issues/55/comments","events_url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner/issues/55/events","html_url":"https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/issues/55","id":380346480,"node_id":"MDU6SXNzdWUzODAzNDY0ODA=","number":55,"title":"Übermittelten User-Agent verwenden","user":{"login":"Lednerb","id":2056876,"node_id":"MDQ6VXNlcjIwNTY4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2056876?v=4","gravatar_id":"","url":"https://api.github.com/users/Lednerb","html_url":"https://github.com/Lednerb","followers_url":"https://api.github.com/users/Lednerb/followers","following_url":"https://api.github.com/users/Lednerb/following{/other_user}","gists_url":"https://api.github.com/users/Lednerb/gists{/gist_id}","starred_url":"https://api.github.com/users/Lednerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lednerb/subscriptions","organizations_url":"https://api.github.com/users/Lednerb/orgs","repos_url":"https://api.github.com/users/Lednerb/repos","events_url":"https://api.github.com/users/Lednerb/events{/privacy}","received_events_url":"https://api.github.com/users/Lednerb/received_events","type":"User","site_admin":false},"labels":[{"id":758982930,"node_id":"MDU6TGFiZWw3NTg5ODI5MzA=","url":"https://api.github.com/repos/SIWECOS/HSHS-DOMXSS-Scanner/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"Lednerb","id":2056876,"node_id":"MDQ6VXNlcjIwNTY4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2056876?v=4","gravatar_id":"","url":"https://api.github.com/users/Lednerb","html_url":"https://github.com/Lednerb","followers_url":"https://api.github.com/users/Lednerb/followers","following_url":"https://api.github.com/users/Lednerb/following{/other_user}","gists_url":"https://api.github.com/users/Lednerb/gists{/gist_id}","starred_url":"https://api.github.com/users/Lednerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lednerb/subscriptions","organizations_url":"https://api.github.com/users/Lednerb/orgs","repos_url":"https://api.github.com/users/Lednerb/repos","events_url":"https://api.github.com/users/Lednerb/events{/privacy}","received_events_url":"https://api.github.com/users/Lednerb/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lednerb","id":2056876,"node_id":"MDQ6VXNlcjIwNTY4NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2056876?v=4","gravatar_id":"","url":"https://api.github.com/users/Lednerb","html_url":"https://github.com/Lednerb","followers_url":"https://api.github.com/users/Lednerb/followers","following_url":"https://api.github.com/users/Lednerb/following{/other_user}","gists_url":"https://api.github.com/users/Lednerb/gists{/gist_id}","starred_url":"https://api.github.com/users/Lednerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lednerb/subscriptions","organizations_url":"https://api.github.com/users/Lednerb/orgs","repos_url":"https://api.github.com/users/Lednerb/repos","events_url":"https://api.github.com/users/Lednerb/events{/privacy}","received_events_url":"https://api.github.com/users/Lednerb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-13T17:44:30Z","updated_at":"2018-11-16T17:08:08Z","closed_at":"2018-11-16T17:08:08Z","author_association":"MEMBER","body":"Zukünftig wird seitens der Core-API ein User-Agent übermittelt.\r\n\r\nDie Core-API sendet folgenden Input an die Scanner-URL:\r\n\r\n```\r\n{\r\n  \"url\": \"https://siwecos.de\",\r\n  \"callbackurls\": [\r\n    \"http://localhost:9002\"\r\n  ],\r\n  \"dangerLevel\": 0,\r\n  \"userAgent\": \"USER_AGENT_ZUR_VERWENDUNG\"\r\n}\r\n```\r\n\r\nDieser `userAgent` soll zum Aufrufen der zu scannenden Seite verwendet werden.\r\n\r\nSollte `userAgent` nicht gesetzt sein, so sollte der Scanner einen Standard verwenden, um verschiedene WAFs oder andere Sperrmaßnahmen umgehen und einen Scan erfolgreich durchführen zu können.\r\n\r\nEin Standard könnte bspw. folgender sein:\r\n\r\n```\r\nMozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0\r\n```\r\n\r\nBitte Implementieren.\r\n\r\n-------------------\r\n\r\nSiehe auch:\r\nhttps://github.com/SIWECOS/siwecos-core-api/issues/158"}}
{"actor":{"display_login":"Lednerb"}}