openbullet / openbullet/OpenBullet2

[REQUEST] Implement FlareSolverr

Open
#684 1 comment 0 reactions 1 assignee View on GitHub

@openbullet is already working on this.

Since Jun 10, 2024.

enhancement
Dominant language
C#
Stars
2.4k
Forks
602
PR merge metrics
No merged PRs in 30d

Description

It may make more sense having one of the talented plugin makers add this as a plugin block but wanted to put the idea out there that it is possible to use this to test CF sites without needing puppeteer or selenium.

More than happy to share my endpoint with a dev if it helps

Posting cmd

curl -L -X POST 'http://localhost:8191/v1' \
-H 'Content-Type: application/json' \
--data-raw '{
  "cmd": "request.get",
  "url":"http://www.google.com/",
  "maxTimeout": 60000
}'

Result (example of discourse.openbullet.dev)

{
	"status": "ok",
	"message": "",
	"startTimestamp": 1649039704463,
	"endTimestamp": 1649039711182,
	"version": "v2.2.2",
	"solution": {
		"url": "https://discourse.openbullet.dev/",
		"status": 403,
		"headers": {
			"date": "Mon, 04 Apr 2022 02:44:44 GMT",
			"content-type": "text/html; charset=UTF-8",
			"permissions-policy": "accelerome...",
			"cache-control": "priv...",
			"expires": "Thu, 01 Jan 1970 00:00:01 GMT",
			"x-frame-options": "SAMEORIGIN",
			"expect-ct": "max-ag...",
			"report-to": "{\"endpoi...",
			"nel": "{\"suc...",
			"vary": "Accept-Encoding",
			"server": "cloudflare",
			"cf-ray": "...",
			"content-encoding": "br",
			"alt-svc": "h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400",
			"x-firefox-spdy": "h2"
		},
		"response": "<!DOCTYPE html><html class=\"desk...",
		"cookies": [{
				"name": "cf_clearance",
				"value": "...",
				"domain": ".openbullet.dev",
				"path": "/",
				"expires": 1680579370,
				"size": 72,
				"httpOnly": true,
				"secure": false,
				"session": false
			}
		],
		"userAgent": "Mozilla/..."
	}
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.