Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load library on Ubuntu #31

Closed
adrian-rt opened this issue Jul 15, 2023 · 6 comments
Closed

Unable to load library on Ubuntu #31

adrian-rt opened this issue Jul 15, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@adrian-rt
Copy link

Hi,

In burp I get an error like "Failed to connect to 127.0.0.1:8888"

the server is not started obviously.

Also, when I unload the extension I get an error like

java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Unable to load library 'server.so':
server.so: cannot open shared object file: No such file or directory
server.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/server.so) not found in resource path ([file:/tmp/burp9901995054636778576.tmp/32]) [in thread "Thread-19"]
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:301)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:461)
	at com.sun.jna.Library$Handler.<init>(Library.java:192)
	at com.sun.jna.Native.load(Native.java:622)
	at com.sun.jna.Native.load(Native.java:596)
	at burp.ServerLibrary.<clinit>(ServerLibrary.java:8)
	at burp.BurpExtender.lambda$registerExtenderCallbacks$0(BurpExtender.java:36)
	at java.base/java.lang.Thread.run(Thread.java:1589)

@adrian-rt
Copy link
Author

I've managed to start the server, but it doesn't work.

I'm detected and get a message like:

<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 16672172601756045050<br><br><a href='javascript:history.back();'>[Go Back]</a></body></html>

@sleeyax
Copy link
Owner

sleeyax commented Jul 15, 2023

Please provide more details.

  • How did you manage to solve your initial issue and start the server?
  • What site are you trying to access?

@adrian-rt
Copy link
Author

adrian-rt commented Jul 15, 2023

Sure,

I pointed the Java Enviroment in Burp to the location where I compiled the server.so file.

I can't provide the website in public, but I can say that it is hosting in Azure, so it's not technically Cloudflare or Akamai. Also I can load the homepage and after I try to login I get detected and get that error.

@sleeyax sleeyax added the bug Something isn't working label Jul 15, 2023
@sleeyax
Copy link
Owner

sleeyax commented Jul 15, 2023

About your initial issue: did you download Burp-Awesome-TLS-linux-amd64.jar or Burp-Awesome-TLS-fat.jar from the latest release? Only those builds contain the linux-x86-64/server.so library you need for your OS and architecture.

And regarding this misterious site that doesn't work on your end, I'll need more details. You can send me a message on Telegram or Discord if you're willing to share the URL in private, otherwise it will be impossible for me to look into it. Either way it's unrelated to this issue.

@sleeyax sleeyax changed the title server not started in Ubuntu Unable to load library on Ubuntu Jul 15, 2023
@adrian-rt
Copy link
Author

@sleeyax ,

It's not just about sharing the URL, I'll need to share the credentials as well and I can't do that (it's a client).

the homepage loads fine, but when I try to login and do a POST that is when I'm detected and blocked.

thanks.

@sleeyax
Copy link
Owner

sleeyax commented Jul 16, 2023

Understandable, but without a reproducible example for me to test you're on your own. You can build this project from source, enable debugging and compare HTTP/TLS requests with real browser traffic to try and see where it goes wrong. Closing this issue because it's going off topic.

@sleeyax sleeyax closed this as completed Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants