Coder Social home page Coder Social logo

Comments (14)

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

try Jdk 8u161/ 8u162?

from pubg-radar.

Mykybo avatar Mykybo commented on August 23, 2024

Updated jdk to 8u161-1~webupd8~0 from 151, still same error :b.
Java version:

$# java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

I get to the screen where you choose ip where to listen, after choosing it crashes.

from pubg-radar.

Mykybo avatar Mykybo commented on August 23, 2024

After updating to java 9:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.system.MemoryAccess (file:/path/to/PUBG-Radar/target/pubg-radar-1.0-SNAPSHOT-jar-with-dependencies.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of org.lwjgl.system.MemoryAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  7 (RenderFreePicture)
  Picture id in failed request: 0x560005d
  Serial number of failed request:  1488
  Current serial number in output stream:  1489
AL lib: (EE) alc_cleanup: 1 device not closed

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

I have found the problem. It is Swing causing this error.

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

I have removed Swing in the new branch linux.
Using command line arguments to configure the network interface:
sudo java -jar pubg-radar.jar <ip_to_sniff> <filterOption> [target_ip]
for example:
game and radar on the same pc:
sudo java -jar pubg-radar.jar 192.168.1.2 PortFilter or
sudo java -jar pubg-radar.jar 192.168.1.2 PPTPFilter or
game and radar on the different pc:
sudo java -jar pubg-radar.jar 192.168.1.2 PPTPFilter 192.168.1.3

from pubg-radar.

Mykybo avatar Mykybo commented on August 23, 2024
# ./pubg-radar-1.0-SNAPSHOT-jar-with-dependencies.jar 192.168.0.14 PortFilter 192.168.9.16
6
6
6
6
7
0
0
0
0
0
Exception in thread "main" java.lang.ExceptionInInitializerError
        at pubg.radar.GameKt.main(Game.kt:46)
Caused by: java.util.NoSuchElementException: Collection contains no element matching the predicate.
        at pubg.radar.sniffer.Sniffer.<clinit>(Sniffer.kt:209)

If I switch the ips (192.168.0.16 PortFilter 192.168.9.14) then the program starts, but stays gray.
wireshark:
wire-pubg

I have setup OpenVpn server on linux, routing traffic through it from windows. Do I have the source/dest ip parameters right? I am not sure what filter to use (PortFilter/PPTPFilter)

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

I have only parsed PPTP protocol, so OpenVPN may not be supported currently.

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

I am able to separate sniffing from game using arpspoof.

from pubg-radar.

Mykybo avatar Mykybo commented on August 23, 2024

So I have setup a PPTP tunnel instead:
wire-pubg-pptp
And run the program with:
sudo ./pubg-radar-1.0-SNAPSHOT-jar-with-dependencies.jar 192.168.0.16 PPTPFilter 192.168.0.14
The program starts, but stays grey (and no error in console).
radar-window

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

I only implement the PPTP GRE Packet. Please make sure the protocol is right.
Or you have to implement your own protocol parser.

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

Yours seem like PPP Compressed? Maybe try uncompressed one?

from pubg-radar.

whtiehack avatar whtiehack commented on August 23, 2024

I think we also need to implement the protocol(L2TP).
I'll try later.

from pubg-radar.

akiskourtis avatar akiskourtis commented on August 23, 2024

Just my 2 cents, the interface also needed to be set to promisc mode explicitly through ifconfig, then it worked.

from pubg-radar.

AiYinZiLeGong avatar AiYinZiLeGong commented on August 23, 2024

@akiskourtis you're right. I update the code.

from pubg-radar.

Related Issues (20)

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.