Giter Site home page Giter Site logo

Comments (8)

quantumcore avatar quantumcore commented on June 4, 2024

You probably imported the entire project in eclipse.
Import the folder gui in eclipse only, https://github.com/quantumcored/remote_hacker_probe/tree/main/gui

from remote_hacker_probe.

chinemys avatar chinemys commented on June 4, 2024

thanks,but there seems to be something missing:

Description Resource Path Location Type
Project 'rhp' is missing required source folder: 'src/main/resources' rhp Build path Build Path Problem
Project 'rhp' is missing required source folder: 'src/test/resources' rhp Build path Build Path Problem
The project cannot be built until build path errors are resolved rhp Unknown Java Problem

from remote_hacker_probe.

quantumcore avatar quantumcore commented on June 4, 2024

I am unsure of what the problem is here, But can you try

  1. Creating empty directory src/main/resources and src/test/resources.
  2. Regarding Maven errors, Create Eclipse Maven project and add Pom XML located here.
    https://github.com/quantumcored/remote_hacker_probe/blob/main/gui/pom.xml
  3. IF all that doesn't work, Try creating a Empty Maven project, Add The pom xml thats linked above, And add all the files that are here : https://github.com/quantumcored/remote_hacker_probe/tree/main/gui/src/main/java/rhp one by one. And check if it works then.

from remote_hacker_probe.

chinemys avatar chinemys commented on June 4, 2024

thanks, I had already solved "Maven errors".
i have already tried to create empty folders, but when i import again, i get 157 warnings and i can't build anything anyway.
I am using Eclipse Ide version 2021-03 (4.19.0)

Description Resource Path Location Type
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized FileManager.java /rhp/src/main/java/rhp line 267 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized FileManager.java /rhp/src/main/java/rhp line 324 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 43 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 43 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 45 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 45 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 46 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 46 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 47 Java Problem
DefaultListModel is a raw type. References to generic type DefaultListModel should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 47 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized FileManager.java /rhp/src/main/java/rhp line 476 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized FileManager.java /rhp/src/main/java/rhp line 476 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized MsgBox.java /rhp/src/main/java/rhp line 68 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized MsgBox.java /rhp/src/main/java/rhp line 68 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 410 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 410 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized Settings.java /rhp/src/main/java/rhp line 138 Java Problem
JComboBox is a raw type. References to generic type JComboBox should be parameterized Settings.java /rhp/src/main/java/rhp line 138 Java Problem
JList is a raw type. References to generic type JList should be parameterized FileManager.java /rhp/src/main/java/rhp line 263 Java Problem
JList is a raw type. References to generic type JList should be parameterized FileManager.java /rhp/src/main/java/rhp line 325 Java Problem
JList is a raw type. References to generic type JList should be parameterized FileManager.java /rhp/src/main/java/rhp line 435 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 42 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 44 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 51 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 54 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 313 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 336 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 497 Java Problem
JList is a raw type. References to generic type JList should be parameterized NetworkScanner.java /rhp/src/main/java/rhp line 644 Java Problem
The assignment to variable value has no effect Map.java /rhp/src/main/java/rhp line 43 Java Problem
The import com.maxmind.geoip2.record.City is never used Server.java /rhp/src/main/java/rhp line 13 Java Problem
The import com.maxmind.geoip2.record.Country is never used Server.java /rhp/src/main/java/rhp line 14 Java Problem
The import com.maxmind.geoip2.record.Locat

from remote_hacker_probe.

quantumcore avatar quantumcore commented on June 4, 2024

A simple search on the Error and I found this.

JList is a raw type as of Java 1.7, the same goes for a couple more of swing components.

Check your Java version. You need to have Java 15.
https://www.oracle.com/java/technologies/javase-jdk15-downloads.html

from remote_hacker_probe.

chinemys avatar chinemys commented on June 4, 2024

i reinstalled java to jdk version 15.0.2. I .
libraries are right.
but the java problem persists.

then I wanted to ask you something else.
I am trying the build you compiled ,version 1.1 ,on local machine
When i build the client in rhp, i set port "7772" but when i receive the client i see a different port displayed, in my case "52524", why?

from remote_hacker_probe.

quantumcore avatar quantumcore commented on June 4, 2024

When i build the client in rhp, i set port "7772" but when i receive the client i see a different port displayed, in my case "52524", why?

That IP and Port is the Client IP Address and port. The address from which the client is connecting from, Not the address where the client is connecting to. Your port 7772 is correct and the client did connect to it. But Port 52524 is the Clients port.

In networking, In order to receive connections you need to bind a Host and port together and listen on it. But to connect you need a server host and port. When connecting, The Client will get it's own port number automatically.

In RHP Main table; IP and Port are the Client IP and Client Port.

from remote_hacker_probe.

quantumcore avatar quantumcore commented on June 4, 2024

Reopen if you want to add something.

from remote_hacker_probe.

Related Issues (19)

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.