AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound #98

Closed AtifaFahmeen closed 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=NjVkMGJiNTMtYmQ4My00N2Q5LTlhYTktNDk2ZWZiYmE3YmVj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:42:16 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/runs/

Request :

Response :
{ "timestamp" : "2019-01-22T09:42:16.274+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/runs/" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1317 < 7000 OR 1317 > 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=ZjBkZmUzYmMtNTFhYi00NmUwLTg1ZGUtNjlhMTVmMDhlNzJh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:57 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/runs/

Request :

Response :
{ "timestamp" : "2019-01-23T05:50:57.283+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/runs/" }

Logs :
2019-01-23 05:50:56 ERROR [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/runs/] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:50:57.283+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/runs/" }] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZjBkZmUzYmMtNTFhYi00NmUwLTg1ZGUtNjlhMTVmMDhlNzJh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:57 GMT]}] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [580] 2019-01-23 05:50:57 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [140] 2019-01-23 05:50:57 INFO [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [580 < 7000 OR 580 > 10000] result [Passed] 2019-01-23 05:50:57 ERROR [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZDA2NjllZGEtZGYxYi00ZDgwLWE5YjEtZTdmM2U1ZDVkNWFm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:58:20 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/runs/

Request :

Response :
{ "timestamp" : "2019-01-23T05:58:20.743+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/runs/" }

Logs :
2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/runs/] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:58:20.743+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/runs/" }] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZDA2NjllZGEtZGYxYi00ZDgwLWE5YjEtZTdmM2U1ZDVkNWFm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:58:20 GMT]}] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [467] 2019-01-23 05:58:20 DEBUG [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [140] 2019-01-23 05:58:20 INFO [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [467 < 7000 OR 467 > 10000] result [Passed] 2019-01-23 05:58:20 ERROR [ApiV1RunsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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 : 500

Headers : {}

Endpoint : http://localhost:8080/api/v1/api/v1/runs/

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/runs/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

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