OpenBullet2 icon indicating copy to clipboard operation
OpenBullet2 copied to clipboard

[REQUEST] Implement FlareSolverr

Open JReming85 opened this issue 3 years ago • 1 comments

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/..."
	}
}

JReming85 avatar Apr 04 '22 02:04 JReming85

https://discourse.openbullet.dev/t/bypass-cloudflare/5879/2?u=djhooligan

DJHooligan avatar Aug 06 '22 13:08 DJHooligan