UnamSanctam / UnamWebPanel

MIT License
179 stars 58 forks source link

Need information for SilentCryptoMiner #374

Open Kusursuz31 opened 4 months ago

Kusursuz31 commented 4 months ago

Hello, i am trying to use binance pool but i couldn't. Is there any example for binance pool?

Thats binance pool example: image

I used with nbminer and it's worked. Usage for RVN on NbMiner "-a kawpow -o stratum+tcp://rvn.poolbinance.com:9000 -u seytanpool.{randomid} (yourwallet here) -p 123456", i really need to use binance on SilentCryptoMiner.

I hope you'll reply and solve my problem.

Other question: if Compatible GPU found: False is miner continue to work or it will stop?

UnamSanctam commented 4 months ago

It would be something like this if following the configuration you posted. Pool: rvn.poolbinance.com:9000 Wallet: saytanpool.{COMPUTERNAME} (you can use something else instead of {COMPUTERNAME}, not really sure what it wants there but {COMPUTERNAME} will replace that with the computers name) Password: 123456

if Compatible GPU found: False is miner continue to work or it will stop?

The message means that your computer does not have any (dedicated) GPU and thus can't mine using a GPU.

Kusursuz31 commented 4 months ago

I tested like that but it's not showed up in binance have to test again.

How can I find out crypto's system requirements? Like VRAM or Supported GPUS.

image

Thats my test PC. Compatible GPU is TRUE but it doesn't showed up any RVN or ETC mining result. Just showing monero.

Do you have any suggestion for dig any good coin?

image

Other questions for WebPanel:

I'm installed WebPanel for preivew with xampp, but i am confused to import database. It's not SQL so i can't use phpmyadmin.

How can i install database file?

UnamSanctam commented 4 months ago

The GPU is an AMD Radeon HD 6570, which has only 2GB of VRAM, so neither RVN or ETC can be mined due to them requiring more VRAM than that, you can find some DAG sizes (how much VRAM is needed to mine that coin) here: https://minerstat.com/dag-size-calculator and GPU coin probabilities here: https://whattomine.com/

Other questions for WebPanel: I'm installed WebPanel for preivew with xampp, but i am confused to import database. It's not SQL so i can't use phpmyadmin. How can i install database file?

It uses SQLite as a database, so there's no need to install anything, it should work just like it is right now.

Kusursuz31 commented 4 months ago

Alr, thanks for the informations.

So, i don't need to import any SQL right? It will auto add zombies in panel?

And last question: How can i use this panel with miner?

image

I mean where i need to put what url to access miner from panel?

UnamSanctam commented 4 months ago

Yes there's no need to import any SQL. To use the web panel with the miner you should enable "API Endpoint URL" and put the URL into the box below it, like http://DomainOrIP/api/endpoint.php

It's also recommended to use the "Remote Configuration" option, so that you can change settings whenever you need. You should enter a RAW URL from somewhere like Pastebin or rentry into it and it will read any settings from it and use those (the settings should be in a JSON format, like how it looks if you press the "JSON" tab in your screenshot.)

Kusursuz31 commented 4 months ago

"Remote Configuration" is can't remoteable in panel? I thought that's what it was. Or it for to take precautions?

UnamSanctam commented 4 months ago

It can be changed in the panel, but if something ever happens to your panel then you can still change settings in the "Remote Configuration".

Kusursuz31 commented 4 months ago

So, yes it for to take precautions.

But i wondering how can i change all zombies config one by one with "Remote Configuration"? Cuz it will not work one by one. It will change for all zombies right?

UnamSanctam commented 4 months ago

The "Remote Configuration" changes all of them, but you can also change the web panel URL with the "Remote Configuration", so if anything ever happens to your web panel (like a new domain or IP) then you can change the web panel URL for all your miners using the "Remote COnfiguration".

Kusursuz31 commented 4 months ago

Ohh that really awesome feature. So i can use for only change my domain. Thats really helpful.

Can you give example json for pastebin or anywhere with Endpoint configuration?

I mean for Endpoint configuration like this:

{ "algo": "rx/0", "pool": "xmr-eu1.nanopool.org", "port": 10343, "wallet": "wallet.{COMPUTERNAME}/WithdrawalPassword", "password": "", "nicehash": false, "ssltls": true, "max-cpu": 20, "idle-wait": 5, "idle-cpu": 80, "stealth-targets": "Taskmgr.exe,ProcessHacker.exe,perfmon.exe,procexp.exe,procexp64.exe", "kill-targets": "", "stealth-fullscreen": false, "endpoint-configuration":"https:///api/endpoint.php" }

How can i add this "endpoint-configuration" part to add pastebin or anywhere? I hope you understand me.

UnamSanctam commented 4 months ago

Yes exactly, it would be like that, the option is called "api-endpoint":

{
"algo": "rx/0",
"pool": "xmr-eu1.nanopool.org",
"port": 10343,
"wallet": "wallet.{COMPUTERNAME}/WithdrawalPassword",
"password": "",
"nicehash": false,
"ssltls": true,
"max-cpu": 20,
"idle-wait": 5,
"idle-cpu": 80,
"stealth-targets": "Taskmgr.exe,ProcessHacker.exe,perfmon.exe,procexp.exe,procexp64.exe",
"kill-targets": "",
"stealth-fullscreen": false,
"api-endpoint":"https://DomainOrIP/api/endpoint.php"
}

Which you should upload as an unlisted paste on something like Pastebin, and then use the "raw" link in the miner (old example: https://pastebin.com/raw/mpRWix6f)

Kusursuz31 commented 4 months ago

Thank you very much for everything, I will follow your suggestions. You're the best!

UnamSanctam commented 4 months ago

No problem, good luck with your mining!

Kusursuz31 commented 4 months ago

BTW, I will try to translate your panel into Turkish. If I can translate it successfully, I will send it to you to add to the source.

Kusursuz31 commented 4 months ago

UnamWebPaneL.zip

There'u go We translated too many words.

You can give credit only for my friend https://github.com/KnullXD

Btw we found a bug:

When you press copy button it showing pop-up but everything is white.

image

image

Kusursuz31 commented 4 months ago

I tried binance pool but my miner is didn't get any IP address and get Error.

image

image

UnamSanctam commented 4 months ago

I don't believe the binance RVN pool ports support SSL, so you need to change the "Connection Scheme" from stratums to stratum

Kusursuz31 commented 4 months ago

What about IP address?

image

Btw i changed pool to 2miners but still getting Error.

UnamSanctam commented 4 months ago

::1 means localhost, it's your local IP. Did you change the connection scheme to stratum instead of stratums? For 2miners RVN port 6060 is the non-SSL port and port 16060 is the SSL port.

Kusursuz31 commented 4 months ago

image

image

image

Problem is solved but now i have clock problem:

image

image

Kusursuz31 commented 4 months ago

Hello, i am currently trying on website.

I installed plesk in my ubuntu server.

Currently i have problem with CloudFlare:

image

https://domain.com/pages/miners.php I have SSL and using https. "162.158.19.146" thats IP address is not real it's CloudFlare IP:

image

Do you know how can i solve that problem?

Other problem:

This is my pc: image

Client result: image

Panel result:

image

I'm been waiting 20 min. Still didn't come in panel.

UnamSanctam commented 4 months ago

The clock in your web server being different from your computer can have many reasons, though the easiest way to change it is to manually specify the timezone inside the web panel code, though I don't know how that will interact with the database.

For your Cloudflare, do you mean that it shows the Cloudflare IP and not the miners? Then that is because all the traffic is actually coming from Cloudflare so the only IP the web server can know is Cloudflares. You can technically retrieve the original IP but it requires changes to your web server and then in the code of the web panel https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/.

For the miner that does not appear, if you enter the URL that's inside the --cinit-api in a browser on the same computer that is mining does the website work properly?

Kusursuz31 commented 4 months ago

I changed my timezone in plesk I'll check later.

Yes, it shows the Cloudflare IP and not the miners.

"Then that is because all the traffic is actually coming from Cloudflare so the only IP the web server can know is Cloudflares. You can technically retrieve the original IP but it requires changes to your web server and then in the code of the web panel" I read your sent page but i didn't understand.

How can i check with --cinit-api? i mean https://domain.com/api/endpoint.php--cinit-api like that or what?

Edit:

when i put this url on mining pc https://domain.com/api/endpoint.php it says:

Endpoint is up and running. This page is shown since no data was posted during the request or the data posted was invalid.

UnamSanctam commented 4 months ago

Yes, it shows the Cloudflare IP and not the miners. "Then that is because all the traffic is actually coming from Cloudflare so the only IP the web server can know is Cloudflares. You can technically retrieve the original IP but it requires changes to your web server and then in the code of the web panel" I read your sent page but i didn't understand.

The web panel has no idea what the original computers IP was before it was sent through Cloudflare, so the only way to find out the original IP is from what Cloudflare tells you. They do it through a special HTTP header but it requires some setup to do depending on what kind of web server you're running.

when i put this url on mining pc https://domain.com/api/endpoint.php it says: Endpoint is up and running. This page is shown since no data was posted during the request or the data posted was invalid.

That means that it's working, and it says that on the computer where the miner doesn't appear in the web panel?

Kusursuz31 commented 4 months ago

I'm currently changed a domain using only http without cloudflare.

I tested on localhost and it showing up in 2 mins. But it's not showing up in my webpanel.

It's using http.

And yes "Endpoint is up and running. This page is shown since no data was posted during the request or the data posted was invalid." it saying this on my pc. I'm opening miner on my pc to see results.

Kusursuz31 commented 4 months ago

My PHP Version: 8.3.9 API Endpoint: http://mydomain.com/api/endpoint.php Hosting: VPS / ubuntu

Endpoint webpanel is working on localhost:

image

Endpoint result: Endpoint is up and running. This page is shown since no data was posted during the request or the data posted was invalid.

Working on localhost but it's not working on web panel.

UnamSanctam commented 4 months ago

And some work on your Cloudflare panel but not others? Or do none work? Is the Cloudflare panel the same server as your localhost one except just with a tunnel?

Kusursuz31 commented 4 months ago

Currently I'm not using CloudFlare. I have only hosting dns.

UnamSanctam commented 4 months ago

Can you give some more information on how you've set everything up? Do you have any miners at all in your other web panel (not the localhost one)?

Kusursuz31 commented 4 months ago

No, i am not started but i am tested with my machine. Miners are not showing up on web panel but they showing up on pool.

My setup steps:

I connected my domain on my hosting.

I put my files on here: image

Everything is fine for setup. image

I can create configuration: image

Now everything is done for webpanel. Let's build miner.

image

I'm using http cuz, i don't have SSL.

image

Build succesfuly. Lets test on machine. image

I am closed windows defender:

image

Started miner with admin after started checker:

image

My endpoint result: image

Let's check web panel after 2 or 3 min.

image

No miner's here. But it's showing up in pool.

image

Kusursuz31 commented 4 months ago

I solved myself.

I installed SSL and used https in miner build and result:

image

UnamSanctam commented 4 months ago

Alright, then it's possible that your host might have been blocking the non-SSL traffic (since it could see the data being sent).

Kusursuz31 commented 4 months ago

Update:

image

We baited 2 people they have stupid GPU's but they not came in panel only came 1 people.

image

Is it normal or what?

UnamSanctam commented 4 months ago

Only one of them is an actual GPU, the Intel one is just the integrated graphics of the CPU, so it won't mine on that (because it can't really, and even if it could it would not be desirable).

Kusursuz31 commented 4 months ago

Yes i know but i wondering if they have good cpu maybe i can use but they not come.

BTW he's gone: image

I guess it's Defender Exclusions problem.

UnamSanctam commented 4 months ago

You don't want to GPU mine on CPU's since it will usually cause a lot of lag (freezing usually, where the computer freezes every few seconds). For the one that's offline, it's hard to know, but are you not installing it as System?

Kusursuz31 commented 4 months ago

You didn't understand me. I mean some cryptos are supporting cpu mining like XMR and if they have bad GPU but have good CPU i can change the config to mining XMR.

But they're looking offline, i guess they removed the our miner.

I'm extracting my miner on "C:\ProgramData" cuz i saw you're adding whitelist.

But i guess is not working some times or they not closing windows defender.

Screenshot from log: image

Other questions:

If I turn on the startup option in miner can it be seen in Task Manager?

Like this screenshot: image

And what is stealth on fullscren?

UnamSanctam commented 4 months ago

You didn't understand me. I mean some cryptos are supporting cpu mining like XMR and if they have bad GPU but have good CPU i can change the config to mining XMR.

You can always mine CPU and GPU at the same time, since they don't use the same kinds of resources, so you can add both an XMR miner and RVN miner to the miner.

But they're looking offline, i guess they removed the our miner. I'm extracting my miner on "C:\ProgramData" cuz i saw you're adding whitelist. But i guess is not working some times or they not closing windows defender.

Yes it will add exclusions if you run the miner as administrator. If you open up those detections and check the details what do they say? And can you see the exclusions if you check the exclusions in that Windows Defender?

Other questions: If I turn on the startup option in miner can it be seen in Task Manager? Like this screenshot:

Not if it's installed as an administrator, in which case it will be installed as a Windows Service. But since we can see the "Active Window" and non-system "Username" in the web panel then I assume you're not running it as administrator.

And what is stealth on fullscren?

The option will cause the miner to pause whenever there's an app open that triggers the "fullscreen mode" for notifications in Windows, it's quite complicated but I can't link the wiki with the explanation since the repository is disabled.

Kusursuz31 commented 4 months ago

You can always mine CPU and GPU at the same time, since they don't use the same kinds of resources, so you can add both an XMR miner and RVN miner to the miner.

So I can use both.

Yes it will add exclusions if you run the miner as administrator. If you open up those detections and check the details what do they say? And can you see the exclusions if you check the exclusions in that Windows Defender?

image

I can't open detection details cuz, it's zombie pc not mine. But we tested on test pc and it's added proof: image

Not if it's installed as an administrator, in which case it will be installed as a Windows Service. But since we can see the "Active Window" and non-system "Username" in the web panel then I assume you're not running it as administrator.

I'm created a another app to start adminastrator and opened Administrator bool to true in miner build.

I didn't understand "But since we can see the "Active Window" and non-system "Username" in the web panel then I assume you're not running it as administrator." This sentence.

The option will cause the miner to pause whenever there's an app open that triggers the "fullscreen mode" for notifications in Windows, it's quite complicated but I can't link the wiki with the explanation since the repository is disabled.

Alr, i don't want any fullscreen method.

UnamSanctam commented 4 months ago

So I can use both.

Yes.

I can't open detection details cuz, it's zombie pc not mine. But we tested on test pc and it's added proof:

Alright good.

I'm created a another app to start adminastrator and opened Administrator bool to true in miner build. I didn't understand "But since we can see the "Active Window" and non-system "Username" in the web panel then I assume you're not running it as administrator." This sentence.

If the miner is installed as administrator (as a Windows Service) then the "Active Window" field should say "Running as System" and the "Username" should say "System". What does it say if you check your "Startup" tab in the miner build?

Kusursuz31 commented 4 months ago

If the miner is installed as administrator (as a Windows Service) then the "Active Window" field should say "Running as System" and the "Username" should say "System". What does it say if you check your "Startup" tab in the miner build?

Do you have any screenshot on panel? Cuz my Active Window is working on only applications.

image

I didn't enabled this feature:

image

UnamSanctam commented 4 months ago

Alright, then it says that in "Active Window" and "Username" because you're not installing the miner, if "Startup" (installation) isn't enabled then it won't install the miner (and thus won't start when the computer restart), instead it will just run it once.

Kusursuz31 commented 4 months ago

My project is starting up miner when windows start. But I'll enable startup in build.

Kusursuz31 commented 4 months ago

I have another problem on web panel.

User is giving my wallet and it's have too many characters it's broking panel. image

Example not broked:

image

Do you have any idea to solve that problem?

UnamSanctam commented 4 months ago

That's how it works, you can press the '+' at the beginning to see al the information of a miner.

Kusursuz31 commented 4 months ago

Yeah i know i can see with press '+' but on mobile it's not responsive and getting some problem.

UnamSanctam commented 4 months ago

It should work on mobile just fine (the plus thing is part of the responsive option of the datatables plugin), only way to remove the wallet/user would be to hide or remove it inside the code of your web panel.

Kusursuz31 commented 4 months ago

Should be work yea lemme try.

Kusursuz31 commented 4 months ago

Nevermind, i have another question.

image

what is different in mining and mining(idle)?

UnamSanctam commented 4 months ago

During normal mining it will use the "Max CPU" or "Max GPU" setting and during idle mining it will use the "Idle CPU" or "Idle GPU" setting.