|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 80
Members: 0
Total: 80
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Need help with java database |
|
Posted: Tue Sep 02, 2008 12:58 am |
|
|
-AO- |
Advanced user |
|
|
Joined: Jul 15, 2008 |
Posts: 205 |
Location: United States |
|
|
|
|
|
|
Here's part of the file... My question is, how can I make use it this? There is a login and password but it's through java database connection.
:S
Here's the jist of it
# Bind ip of the server, use 0.0.0.0 to bind on all available IPs
serverHostname=1.1.1.1
GameserverPort=7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=1.1.1.1
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=127.0.0.1
# Note: you can define server hostname for each network in subnets.properties
# The Loginserver host and port
LoginPort=9014
LoginHost=1.1.1.1
# This is the server id that the server will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server if the requested id is allready reserved
AcceptAlternateID = False
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/serverdb
#URL=jdbc:hsqldb:hsql://localhost/db
#URL=jdbc:sqlserver://localhost/database=dbname/user=sa/password=
Login=root
Password=root
MaximumDbConnections=500
# Datapack root directory, defaults to current directory from which the server is started
#DatapackRoot=H:/work/trunk/
Confused Confused Confused |
|
|
|
|
|
|
|
|
Posted: Tue Sep 02, 2008 4:50 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
I don't see something different from normal database connection.Upload some mysql client on this server and try to connect to database with this data. |
|
|
|
|
Posted: Tue Sep 02, 2008 7:08 am |
|
|
-AO- |
Advanced user |
|
|
Joined: Jul 15, 2008 |
Posts: 205 |
Location: United States |
|
|
|
|
|
|
Well, I have the login server IP, mysql login and pass but the information isn't for the same server I got it from. I'm not sure how I would go about connecting or somehow getting the data out that I want. |
|
|
|
|
Posted: Tue Sep 02, 2008 3:21 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
You need to upload mysql client on same server where you found this data and connect with this data to database. |
|
|
|
|
Posted: Wed Sep 03, 2008 12:56 am |
|
|
-AO- |
Advanced user |
|
|
Joined: Jul 15, 2008 |
Posts: 205 |
Location: United States |
|
|
|
|
|
|
It says from localhost, so this would mean the database is on the server where I got this config file but I don't think there is a way I can upload a client and if so, what client? |
|
|
|
|
Posted: Wed Sep 03, 2008 4:43 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> All other security holes
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|