Code Monkey home page Code Monkey logo

unamwebpanel's Introduction

UnamWebPanel v1.8.0

A web panel currently used to optionally monitor and manage the SilentCryptoMiner. Might support any other projects I release in the future as well.

Setup

The panel is quite easy to set up, the only real requirement is a web server with PHP support. You can either host it yourself using Apache or something similar, or you can use any free or paid online webhost.

Here are some simple steps to get started:

  1. Download the panel files and open the UnamWebPanel/config.php file with a text editor.
  2. Change the password at$config['password'] = 'UnamSanctam'; to whatever password you wish to use (only change the UnamSanctam text to your own password), this is the password used to access the web panel.
  3. Upload the contents of the UnamWebPanel folder to your webhosts "public_html" folder or the respective folder for your specific webhost.
  4. Your web panel should now be up and running, you can browse to the URL or IP of your website and you should see the login screen if everything went correctly.

If you wish to add the web panel to the SilentCryptoMiner then enter the following website URL: http://yourwebsite.com/api/endpoint.php (replace yourwebsite.com with your URL or IP, also make sure to use the correct http or https protocol depending on if your site has SSL "support" or not) into the API Endpoint URL field inside the miner.

If you use something other than Apache or IIS to host the web panel then you should check if your database file is exposed to the internet, you can check it by visting the URL http://yourwebsite.com/db/unamwebpanel.db (replace yourwebsite.com with your URL or IP), if it says forbidden or doesn't display anything then your database is secured.

For local testing

If you simply want to set up a local web panel for testing then here are some simple steps to do so.

  1. Download XAMPP and install it
  2. Extract the UnamWebPanel files into C:\xampp\htdocs (or wherever you installed it)
  3. Open the XAMPP Control Panel and press the "Start" button next to "Apache"
  4. Browse to http://localhost/ and you should be able to login (default password UnamSanctam) and view the web panel

Then if you want any local miners on your computer to connect to it then enter http://localhost/api/endpoint.php into the "API Endpoint URL" of the miners in the miner builder.

Supported Projects

Changelog

1.8.0 (06/02/2024)

  • Rewrote almost all the code of the web panel to make it easier for others to edit
  • Added new functionality called IP Blocking with its own page that allows blocking IP addresses from connecting to the web panel
  • Added constant verification of the hashed password during login sessions, ensuring that any change to the password results in all users being logged out
  • Added an error log option to the config for enabling or disabling error logging
  • Changed the error logging function to only log vital error information
  • Rewrote datatables server side class to be shorter, more optimized and safer
  • Added further XSS mitigation to both the endpoint, the pages, the APIs and the datatable server side output
  • Added many strict headers that improve browser security
  • Added meta tags and headers alongside the current robots.txt to further discourage search engine indexing
  • Added line graph showing the total amount of online miners over time based on hashrate history reporting
  • Added pie graph showing the amount of GPU Miners and CPU Miners
  • Added pie graph showing the statuses of the miners
  • Remade some of the statistics to have better clarity
  • Added automatic SQLite database and database folder permissions checks that will display an error if they do not have the required permissions
  • Merged and removed many unused or unnecessary assets
  • Replaced SweetAlert2 with another plugin due to its malicious behaviour on .ru, .su, .by and .рф domains
  • Changed miner types to the more clear CPU Miner and GPU Miner types
  • Added new miner datatable field called Extra Data that will receive data such as resource reporting in future miner versions
  • Added logout button to the top navigation menu
  • Added all missing translations for all supported languages
  • Added language selection to the login page
  • Changed the terminology from Active to Mining
  • Improved the miner endpoint performance

1.7.1 (06/01/2023)

  • Moved miner statistics to a new "Statistics" page
  • Added more statistics such as GPU, CPU, Version and Algorithm graphs
  • Fixed "Hide Offline Miners" bug
  • Reworked endpoint again for better performance
  • Added inactive journal size limit and higher cache limit
  • Reduced WAL file growth and added cleaning
  • Changed SQLite synchronous mode to OFF for higher performance
  • Added Spanish translation (Xeneht)

1.7.0 (25/12/2022)

  • Greatly improved database performance
  • Greatly improved endpoint performance
  • Added configurable hashrate history feature
  • Added "Total Hashrate" graphs for each algorithm
  • Added individual "Hashrate History" to each miner
  • Added miner status statistics
  • Fixed datatable width scaling
  • Added "Hide Offline Miners" option
  • Fixed status priority for offline and error statuses
  • Added Russian translation (marat2509)
  • Added Ukrainian translation (Zem0rt)

You can view the full Changelog here

Author

  • Unam Sanctam

Contributors

Disclaimer

I, the creator, am not responsible for any actions, and or damages, caused by this software.

You bear the full responsibility of your actions and acknowledge that this software was created for educational purposes only.

This software's main purpose is NOT to be used maliciously, or on any system that you do not own, or have the right to use.

By using this software, you automatically agree to the above.

License

This project is licensed under the MIT License - see the LICENSE file for details

Donate

XMR: 8BbApiMBHsPVKkLEP4rVbST6CnSb3LW2gXygngCi5MGiBuwAFh6bFEzT3UTufiCehFK7fNvAjs5Tv6BKYa6w8hwaSjnsg2N

BTC: bc1q26uwkzv6rgsxqnlapkj908l68vl0j753r46wvq

ETH: 0x40E5bB6C61871776f062d296707Ab7B7aEfFe1Cd

ETC: 0xd513e80ECc106A1BA7Fa15F1C590Ef3c4cd16CF3

RVN: RFsUdiQJ31Zr1pKZmJ3fXqH6Gomtjd2cQe

LINK: 0x40E5bB6C61871776f062d296707Ab7B7aEfFe1Cd

DOGE: DNgFYHnZBVLw9FMdRYTQ7vD4X9w3AsWFRv

LTC: Lbr8RLB7wSaDSQtg8VEgfdqKoxqPq5Lkn3

unamwebpanel's People

Contributors

unamsanctam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unamwebpanel's Issues

Problem

Good afternoon. Such an error pops up and does not show anything in the panel. Maybe it's related to the number of users, I have about 500 of them? how to clear from inactive ones?

my site does not work

hello, my site does not work, I did everything correctly and uploaded it to public_html. But the site doesn't work

Panel not showing Bots (infinityfree)

Hello,

I have finally got the miner working but when I was testing it on my self I didn't appear on my panel, I've been reading past issues and I think it might be my permissions on the host could you take a look and see if there is something wrong I'll add a screenshot.

Thanks in advance,
image

search bar does not work

Hello, the search bar does not work, when I want to search for something like the unique ID or something else it does not find anything

miners show 0H/s even after many hours

Hi , i have install silentcryptominer on a pc with user with NON admin rights , so i check the scheduled task that was created and i slightly modified to start it when pc starts because the user could not be logged for hours and i select to run under a different local user that have administration right.
in the webpanel i see it active but i get 0H/s....the same build created with silentcryptominer and installed in a pc with user logged with administration rights it shows after some times the hash value....
immagine

Datatables issue

i even redownloaded and changed the unamwebpanel.db and it still shows me the same error

cxyxsaxq

webpanel

Hey! I configured the panel, but the bots are not displayed
Снимок экрана (98)
Снимок экрана (97)

i am using ubuntu 20.04

auto-removal

Will the possibility of auto-removal of users who are not active for 2-4 days be implemented?

required class panel missing

Tried to set up the panel, pretty sure I set it up right but when I go to the site I just get "The required class PDO could not be found. "
not sure what I could do about this help would be appreciated thanks.

Botkiller protected

Hey unam is there anyway for you to add a protection against a botkiller?

Bots dying very very fast !! Help

bro i got all in all over 200 clients with a good gpu with 4gb+ they all had Windows defender and i cant get more then 200 mh/s
because only 4 miners at the same time are on the dashboard i use stealth and idle mining and use the panel and 200 users is a low number because i have over 500 connected bots in my stealer but i lose sooo much bots this is insane and im getting 30+ bots everyday can you help me maybe?

Nothing Updating

Hey I tested the miner on myself to see if my webpanel would update and it hasn't. About 20 minutes ago I got the same ajax error that other users reported, but you said it was fixed so I am not sure. Only fix I have tried is replacing the db with the link you provided to the other user with the same issue.

Everything should have been done right, this is the API link I used: http://zap543185-1.plesk10.zap-webspace.com/api/endpoint.php

image

how can i create a web panel

i tried using many different webhosts but i dont know what do do in them
i was going to use apache but the whole downloads directory is a mess and i dont know what i should download

https://websitename.com/UnamWebPanel/api/endpoint.php

Hello, I have Word Press on the site I'm gonna use this, and to access the UnamWebPanel, I have to go to https://websitename.com/UnamWebPanel and not just to the home page. I'm just wondering if the api/endpoint.php would change to https://websitename.com/UnamWebPanel/api/endpoint.php instead of https://websitename.com/api/endpoint.php

No able to login after webpanel installed

Hi , i have install the apache addon with php support into home assistant , then i loaded the file into share/htdocs , all files and dirs have rwx property
then i setup my password into config.php , reload the whole apache just to be sure , then i use chrome to navigate to the login page , it show password , i entered the password but in the top right corner everytime appear somethings goes wrong....
i see in the htdocs a error.log file which report these errors:

[03-Jan-2022 21:35:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function prepare() on bool in /share/htdocs/__UNAM_LIB/unam_lib.php:31
Stack trace:
#0 /share/htdocs/auth-ajax.php(11): unam_lib->unam_dbSelect()
#1 {main}
thrown in /share/htdocs/__UNAM_LIB/unam_lib.php on line 31
[03-Jan-2022 21:56:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function prepare() on bool in /share/htdocs/__UNAM_LIB/unam_lib.php:31
Stack trace:
#0 /share/htdocs/auth-ajax.php(11): unam_lib->unam_dbSelect()
#1 {main}
thrown in /share/htdocs/__UNAM_LIB/unam_lib.php on line 31

please let me know

Status

Hello! Everything works like a charm and it's up and running, I'm just wondering about where it says "Status" on the web panel. What do the different statuses mean? Like "Stopped". Also, will the miners who didn't have the system requirements to mine show up on the list?

I also just want to thank you for developing this!

Error

Screenshot_2
What can I be doing wrong?

hash rate shown

hi , i have install silent crypto miner to mine monero on moneroocean pool , in your webpanel i see this hash rate:
immagine

if i go to https://moneroocean.stream/ and i insert my monero wallet address i get the status of my mining rig but i get a much higher has rate shown:
immagine

the data is update at the same time but why i get this difference?

Can't connect

I assume its obv something im doing wrong, I am not seeing my own pc pop up on the web panel? The miner is 100% running can see it on task manager and the checker, im hosting the panel locally so I should just paste my ipv4 as the site name? I assume I fucked up with the site name but idk how

Problem with Panel

Hello. I'm having a problem with the panel. As I understand it, there is a problem with writing to the database. After deleting the old database and loading the new one, the problem remains. Please give me a solution.
3

Help with setting everything up

This is just a suggestion but I feel like if there was a video of you showing how to setup and configure the WebPanel in order for everything to work it would greatly help people.Thank you

Bots not showing up on panel

Hey there!

Nice work. love your miner and the panel looks nice as well however I got an issue with it. Bots dont show up on it.

Checking the endpoint manually in browser does indeed return "Error: Invalid data" as you asked in another issue. I used http bc I dont have a cert, it doesnt have a typo in it and I honestly dont know what I should check now. been waiting for quite a while and the bot (which runs on my system for testing) just doesnt show up

Bots don't knock

Hello Unam, thanks for the updates, waited a long time =)

Panel problems
Bots don't knock
The base file is available via a direct link

Miner build checked - works

Ubuntu
PHP 8.0.12
Apache2 2.4.29

WebPanel gets no stats

Like the title says, the web panel get no stats.
I am trying this at home with some computers, i used a extern hosting but i dont receive any stats of the miners. I can see that the computers are mining on the mining pool.

For some reason the webpanel get no miner stats.

Hey unam issues with strong GPUs

for example 3060 gpu person opened my miner but yet there is no mining shown on the panel

why does the miner fail to mine with strong GPUs always? this isnt my first time happening

some 3080 wasnt even mining even though they opened fully with administrator perms

but it works on older gpus like 1050 1660 and more

I can't make

Hi unam. I try different host services (infinity,pro free host etc.) ım make my control panel ım runnıng mıner but ı cant take any information on webpanel ? How can ı make it ? Can you advice any free hosting services ? Thank you for all services <3

Recommended Web Host?

Currently, I'm planing on using Hostinger (Paid), but do you recommend any other web host?

Panel not showing miner

Hi Uman. I have got this issue and i had read open and close issues. I had check the /api/endpoint.php and as you said it works correctly
image
But it's doesn't show in the panel
image
And the Miner still working
image
Hope you will reply this.Thanks you alot

Discord

yo unam,

i've tried reaching out to you on discord plenty times but you haven't responded? what's up with that, or do you just not use discord anymore.

Possibility to have another column

Hi , will it be possible to have a new column in the table shown with the miners?
imagine you have tons of pc , the unique id is not sufficient to instantly find which computer is which , instead with a new column called "Computer Name" will be very usefull

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.