Skip to content

Instantly share code, notes, and snippets.

@spirillen
Created October 22, 2024 21:45
Show Gist options
  • Save spirillen/6d0f98f25f43d3803d30a6c6c7cbdf5e to your computer and use it in GitHub Desktop.
Save spirillen/6d0f98f25f43d3803d30a6c6c7cbdf5e to your computer and use it in GitHub Desktop.
[
{
"id": "9pz8i2yo6f",
"createdAt": "2024-02-21T10:47:12.000Z",
"userId": "9pz1x29g9t",
"user": {
"id": "9pz1x29g9t",
"name": "b96m7b3rkz",
"username": "b96m7b3rkz",
"host": "airwaves.social",
"avatarUrl": "https://matrix.rocks/identicon/[email protected]",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": "Airwaves Social",
"softwareName": "mastodon",
"softwareVersion": "4.2.7",
"iconUrl": "https://airwaves.social/packs/media/icons/android-chrome-36x36-4c61fdb42936428af85afdbf8c6a45a8.png",
"faviconUrl": "https://airwaves.social/packs/media/icons/favicon-48x48-c1197e9664ee6476d2715a1c4293bf61.png",
"themeColor": "#191b22"
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "https://ctkpaarr.org/\n\n@[email protected]\n@[email protected]\n@[email protected]\n@[email protected]\n@[email protected]",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9koz8d87ao",
"9pt74rud12",
"9k9jrg54i1",
"9przuq62n4",
"9pz8i4n868"
],
"uri": "https://airwaves.social/users/b96m7b3rkz/statuses/111969070768813130",
"url": "https://airwaves.social/@b96m7b3rkz/111969070768813130",
"clippedCount": 0
},
{
"id": "9pz88suwuh",
"createdAt": "2024-02-21T10:39:59.000Z",
"userId": "9pz1x29g9t",
"user": {
"id": "9pz1x29g9t",
"name": "b96m7b3rkz",
"username": "b96m7b3rkz",
"host": "airwaves.social",
"avatarUrl": "https://matrix.rocks/identicon/[email protected]",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": "Airwaves Social",
"softwareName": "mastodon",
"softwareVersion": "4.2.7",
"iconUrl": "https://airwaves.social/packs/media/icons/android-chrome-36x36-4c61fdb42936428af85afdbf8c6a45a8.png",
"faviconUrl": "https://airwaves.social/packs/media/icons/favicon-48x48-c1197e9664ee6476d2715a1c4293bf61.png",
"themeColor": "#191b22"
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "https://ctkpaarr.org/\n\n@[email protected]\n@[email protected]\n@[email protected]\n@[email protected]\n@[email protected]",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"mentions": [
"9nn2x73rkd",
"9k96y8pfw6",
"9k8bijoaz6",
"9psga05v87"
],
"uri": "https://airwaves.social/users/b96m7b3rkz/statuses/111969042404579816",
"url": "https://airwaves.social/@b96m7b3rkz/111969042404579816",
"clippedCount": 0
}
]
[2024-10-22T21:34:53Z DEBUG tracing::span] build;
[2024-10-22T21:34:53Z DEBUG isahc::agent] agent waker listening on 127.0.0.1:53387
[2024-10-22T21:34:53Z DEBUG isahc::agent] agent_thread; port=53387
[2024-10-22T21:34:53Z DEBUG isahc::agent] agent took 255.241µs to start up
Doing 9pz1x29g9t
[2024-10-22T21:34:53Z DEBUG misskey_http::client] sending request to https://matrix.rocks/api/admin/suspend-user: {"i":"API_TOKEN","userId":"9pz1x29g9t"}
[2024-10-22T21:34:53Z DEBUG isahc::client] send_async; method=POST uri=https://matrix.rocks/api/admin/suspend-user
[2024-10-22T21:34:53Z DEBUG isahc::handler] handler;
[2024-10-22T21:34:53Z DEBUG isahc::handler] handler; id=0
[2024-10-22T21:34:53Z DEBUG isahc::handler] Host matrix.rocks:443 was resolved.
[2024-10-22T21:34:53Z DEBUG isahc::handler] IPv6: 2001:41d0:700:133e::8
[2024-10-22T21:34:53Z DEBUG isahc::handler] IPv4: 54.36.110.62
[2024-10-22T21:34:53Z DEBUG isahc::handler] Trying [2001:41d0:700:133e::8]:443...
[2024-10-22T21:34:53Z DEBUG isahc::handler] Immediate connect fail for 2001:41d0:700:133e::8: Network is unreachable
[2024-10-22T21:34:53Z DEBUG isahc::handler] Trying 54.36.110.62:443...
[2024-10-22T21:34:53Z DEBUG isahc::handler] CAfile: /usr/lib/ssl/cert.pem
[2024-10-22T21:34:53Z DEBUG isahc::handler] CApath: /usr/lib/ssl/certs
[2024-10-22T21:34:53Z DEBUG isahc::handler] ALPN: curl offers h2,http/1.1
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (OUT), TLS handshake, Client hello (1):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Server hello (2):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Certificate (11):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, CERT verify (15):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Finished (20):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (OUT), TLS handshake, Finished (20):
[2024-10-22T21:34:53Z DEBUG isahc::handler] SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / id-ecPublicKey
[2024-10-22T21:34:53Z DEBUG isahc::handler] ALPN: server accepted h2
[2024-10-22T21:34:53Z DEBUG isahc::handler] Server certificate:
[2024-10-22T21:34:53Z DEBUG isahc::handler] subject: CN=matrix.rocks
[2024-10-22T21:34:53Z DEBUG isahc::handler] start date: Sep 26 12:00:25 2024 GMT
[2024-10-22T21:34:53Z DEBUG isahc::handler] expire date: Dec 25 12:00:24 2024 GMT
[2024-10-22T21:34:53Z DEBUG isahc::handler] subjectAltName: host "matrix.rocks" matched cert's "matrix.rocks"
[2024-10-22T21:34:53Z DEBUG isahc::handler] issuer: C=US; O=Let's Encrypt; CN=E5
[2024-10-22T21:34:53Z DEBUG isahc::handler] SSL certificate verify ok.
[2024-10-22T21:34:53Z DEBUG isahc::handler] Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384
[2024-10-22T21:34:53Z DEBUG isahc::handler] Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using sha256WithRSAEncryption
[2024-10-22T21:34:53Z DEBUG isahc::handler] Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
[2024-10-22T21:34:53Z DEBUG isahc::handler] Connected to matrix.rocks (54.36.110.62) port 443
[2024-10-22T21:34:53Z DEBUG isahc::handler] using HTTP/2
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] OPENED stream for https://matrix.rocks/api/admin/suspend-user
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [:method: POST]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [:scheme: https]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [:authority: matrix.rocks]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [:path: /api/admin/suspend-user]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [accept: */*]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [accept-encoding: deflate, gzip]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [content-type: application/json]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [user-agent: curl/8.10.1-DEV isahc/0.9.14]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [1] [content-length: 62]
[2024-10-22T21:34:53Z DEBUG isahc::handler] upload completely sent off: 62 bytes
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
[2024-10-22T21:34:53Z DEBUG isahc::handler] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
[2024-10-22T21:34:53Z DEBUG isahc::handler] Connection #0 to host matrix.rocks left intact
[2024-10-22T21:34:53Z DEBUG misskey_http::client] got response (204 No Content) from admin/suspend-user:
[2024-10-22T21:34:53Z DEBUG misskey_http::client] sending request to https://matrix.rocks/api/users/notes: {"i":"API_TOKEN","limit":30,"userId":"9pz1x29g9t"}
[2024-10-22T21:34:53Z DEBUG isahc::client] send_async; method=POST uri=https://matrix.rocks/api/users/notes
[2024-10-22T21:34:53Z DEBUG isahc::handler] handler;
[2024-10-22T21:34:53Z DEBUG isahc::handler] handler; id=0
[2024-10-22T21:34:53Z DEBUG isahc::handler] Re-using existing connection with host matrix.rocks
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] OPENED stream for https://matrix.rocks/api/users/notes
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [:method: POST]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [:scheme: https]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [:authority: matrix.rocks]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [:path: /api/users/notes]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [accept: */*]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [accept-encoding: deflate, gzip]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [content-type: application/json]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [user-agent: curl/8.10.1-DEV isahc/0.9.14]
[2024-10-22T21:34:53Z DEBUG isahc::handler] [HTTP/2] [3] [content-length: 73]
[2024-10-22T21:34:53Z DEBUG isahc::handler] upload completely sent off: 73 bytes
[2024-10-22T21:34:54Z DEBUG isahc::handler] Connection #0 to host matrix.rocks left intact
[2024-10-22T21:34:54Z DEBUG misskey_http::client] got response (200 OK) from users/notes: CK-Cleaner.json
JSON REPONSE BELOW IN CK-Cleaner.json
Failed to get user 9pz1x29g9t notes: JSON error: invalid type: map, expected a sequence at line 1 column 663
users suspended: 1, not suspended: 0
notes deleted: 0, not deleted: 1
[2024-10-22T21:34:54Z DEBUG isahc::agent] agent shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment