AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound #72

Open AtifaFahmeen opened 5 years ago

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : US_WEST_2

Result : fail

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NjI1YTczM2QtNzQyNi00ZGZjLWE5MjEtYzdhMTk5ZDcyYmUx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:40:32 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-time-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-22T09:40:32.938+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-time-between" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1793 < 7000 OR 1793 > 10000] result [Passed]Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] --- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : pass

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NGE0YjdjZmItMmY0Mi00NTFkLWFiOWEtZDA3ZmVmY2Q2MTAz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:51 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-time-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T05:48:51.956+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-time-between" }

Logs :
Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [617 < 7000 OR 617 > 10000] result [Passed] --- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : pass

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NDgwYjFlYWQtODUyOC00OTBkLThmMmUtZDYxODQyYTMwYTFj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:04 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-time-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T05:56:04.828+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-time-between" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [448 < 7000 OR 448 > 10000] result [Passed]Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] --- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : fail

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NTBiMDBhODktOGUyZS00ZTFhLWE2OGItZDNiNjQ3ZDcwOTBh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:08 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-time-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T09:58:08.084+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-time-between" }

Logs :
2019-01-23 09:58:00 ERROR [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-time-between?toDate=] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:58:08.084+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-time-between" }] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Response-Headers [{X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NTBiMDBhODktOGUyZS00ZTFhLWE2OGItZDNiNjQ3ZDcwOTBh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:08 GMT]}] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Time [7746] 2019-01-23 09:58:08 DEBUG [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Size [163] 2019-01-23 09:58:08 ERROR [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [7746 < 7000 OR 7746 > 10000] result [Failed] 2019-01-23 09:58:08 ERROR [ApiV1DashboardCountTimeBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---