RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
311
stars
108
forks
source link
I want set header and user-agent in all http request,so i can use domain fronting and apache mod_rewrite, where i should change #406
Open
stiluddclanward opened 6 months ago
I found sed_header information below,is it enough ./src/cc/CCClient.cpp: req.set_header("Host", hostHeader.str()); ./src/cc/CCClient.cpp: req.set_header("Accept", "//"); ./src/cc/CCClient.cpp: req.set_header("User-Agent", Platform::userAgent()); ./src/cc/CCClient.cpp: req.set_header("Accept", "application/json"); ./src/cc/CCClient.cpp: req.set_header("Content-Type", "application/json"); ./src/cc/Httpd.cpp: res.set_header("Access-Control-Allow-Origin", "*"); ./src/cc/Httpd.cpp: res.set_header("Access-Control-Allow-Methods", "POST, GET, OPTIONS"); ./src/cc/Httpd.cpp: res.set_header("Access-Control-Allow-Headers", "Content-Type, Authorization"); ./src/cc/Httpd.cpp: res.set_header("WWW-Authenticate", "Basic"); ./src/cc/Httpd.cpp: res.set_header("WWW-Authenticate", "Bearer");