iyi geceler.
https://github.com/itemsapi/itemsapi
buradaki scripti denedim. herşey güzel fakat elimdeki dataları veritabanına yazdırırken jsonun configini ayarlayamıyorum..
örnek config:
https://raw.githubusercontent.com/it...on-movies.json
örnek json:
https://raw.githubusercontent.com/it...tems/imdb.json
şu jsona göre config yazabilecek arkadaş arıyorum..
{
"ip":"145.239.51.236",
"data":{
"banner":{
"status":"success",
"protocol":"banner",
"result":{
"banner":"HTTP/1.1 400 Bad Request\r\nContent-Type: text/plain; charset=utf-8\r\nConnection: close\r\n\r\n400 Bad Request",
"length":103
},
"timestamp":"2021-08-15T07:23:16Z"
},
"ftp":{
"status":"connection-timeout",
"protocol":"ftp",
"timestamp":"2021-08-15T07:23:16Z",
"error":"dial tcp 145.239.51.236:21: connect: connection refused"
},
"http2083":{
"status":"connection-timeout",
"protocol":"http",
"result":{
},
"timestamp":"2021-08-15T07:23:20Z",
"error":"dial tcp \u003cnil\u003e-\u003e145.239.51.236:2083: connect: connection refused"
},
"http80":{
"status":"success",
"protocol":"http",
"result":{
"response":{
"status_line":"200 OK",
"status_code":200,
"protocol":{
"name":"HTTP/1.1",
"major":1,
"minor":1
},
"headers":{
"content_security_policy":[
"block-all-mixed-content"
],
"content_type":[
"text/html"
],
"date":[
"Sun, 15 Aug 2021 07:28:58 GMT"
],
"etag":[
"W/\"6118bedc-14659\""
],
"last_modified":[
"Sun, 15 Aug 2021 07:14:36 GMT"
],
"server":[
"nginx/1.14.2"
],
"vary":[
"Accept-Encoding",
"Accept-Encoding"
],
"x_content_type_options":[
"nosniff"
],
"x_frame_options":[
"SAMEORIGIN"
]
},
"body":"\u003c!DOCTYPE html\u003e\u003chtml lang=\"en-US\\n\n\u003c!-- super cache --\u003e",
"body_sha256":"d7615d87046666ceebf6be1ca6d967ea6c75c894d7fc25d4e85dcfef317c22e8",
"content_length":-1,
"transfer_encoding":[
"chunked"
],
"request":{
"url":{
"scheme":"http",
"host":"145.239.51.236",
"path":"/"
},
"method":"GET",
"headers":{
"accept":[
"*/*"
],
"user_agent":[
"Mozilla/5.0 zgrab/0.x"
]
},
"host":"145.239.51.236"
}
}
},
"timestamp":"2021-08-15T07:23:17Z"
},
"http80cpanel":{
"status":"success",
"protocol":"http",
"result":{
"response":{
"status_line":"404 Not Found",
"status_code":404,
"protocol":{
"name":"HTTP/1.1",
"major":1,
"minor":1
},
"headers":{
"cache_control":[
"no-cache, must-revalidate, max-age=0, no-store"
],
"content_security_policy":[
"block-all-mixed-content"
],
"content_type":[
"text/html; charset=UTF-8"
],
"date":[
"Sun, 15 Aug 2021 07:28:59 GMT"
],
"expires":[
"Wed, 11 Jan 1984 05:00:00 GMT"
],
"link":[
"\u003chttps://www.mybakingaddiction.com/wp-json/\u003e; rel=\"https://api.w.org/\""
],
"server":[
"nginx/1.14.2"
],
"vary":[
"Accept-Encoding",
"Accept-Encoding",
"Accept-Encoding,Cookie"
]
},
"body":"\u003c!DOCTYPE html\u003e\u003chtml lang=\"en-US\"t\u003c/body\u003e\n\u003c/html\u003e\n",
"body_sha256":"cf566450a7c38937bf6ed7851a7c07c76c6dba237926830f6f17cf4592374b3f",
"content_length":-1,
"transfer_encoding":[
"chunked"
],
"request":{
"url":{
"scheme":"http",
"host":"145.239.51.236",
"path":"/cpanel"
},
"method":"GET",
"headers":{
"accept":[
"*/*"
],
"user_agent":[
"Mozilla/5.0 zgrab/0.x"
]
},
"host":"145.239.51.236"
}
}
},
"timestamp":"2021-08-15T07:23:18Z"
},
"imap":{
"status":"connection-timeout",
"protocol":"imap",
"timestamp":"2021-08-15T07:23:16Z",
"error":"dial tcp 145.239.51.236:143: connect: connection refused"
},
"mssql":{
"status":"connection-timeout",
"protocol":"mssql",
"timestamp":"2021-08-15T07:23:17Z",
"error":"dial tcp 145.239.51.236:1433: connect: connection refused"
},
"mysql":{
"status":"connection-timeout",
"protocol":"mysql",
"result":null,
"timestamp":"2021-08-15T07:23:16Z",
"error":"dial tcp 145.239.51.236:3306: connect: connection refused"
},
"pop3":{
"status":"connection-timeout",
"protocol":"pop3",
"timestamp":"2021-08-15T07:23:17Z",
"error":"dial tcp 145.239.51.236:110: connect: connection refused"
},
"smtp1":{
"status":"success",
"protocol":"smtp",
"result":{
"banner":"220 mx.thickfork.buzz ESMTP Service ready\r\n"
},
"timestamp":"2021-08-15T07:23:20Z"
},
"smtp2":{
"status":"connection-timeout",
"protocol":"smtp",
"timestamp":"2021-08-15T07:23:20Z",
"error":"dial tcp 145.239.51.236:587: connect: connection refused"
},
"smtp3":{
"status":"connection-timeout",
"protocol":"smtp",
"timestamp":"2021-08-15T07:23:20Z",
"error":"dial tcp 145.239.51.236:465: connect: connection refused"
},
"ssh":{
"status":"connection-timeout",
"protocol":"ssh",
"result":{
},
"timestamp":"2021-08-15T07:23:16Z",
"error":"dial tcp 145.239.51.236:22: connect: connection refused"
},
"telnet":{
"status":"connection-timeout",
"protocol":"telnet",
"timestamp":"2021-08-15T07:23:17Z",
"error":"dial tcp 145.239.51.236:23: connect: connection refused"
},
"tls":{
"status":"connection-timeout",
"protocol":"tls",
"timestamp":"2021-08-15T07:23:16Z",
"error":"dial tcp 145.239.51.236:443: connect: connection refused"
}
}
}