Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I'm making a network manager program as a small project, and I want it to be able to access data on my Airport Extreme (most importantly, the DHCP client list).
There has to be a way of accessing the client list file from the Airport Extreme, after all, Airport Utility can do it. All I want to do is read the data from the file/list.
If anyone could even point me in the right direction, that would be great. I'm also hoping that I can get this program to run on all *nix machines, not just a mac (so any Airport utility hacks wouldn't really help).
You can do this via SNMP. Get hold of an SNMP browser such as GetIF and browse around the Airport via its address to see exactly what's in there, then use an SNMP library to get hold of the same information yourself in your application.
Network management essentially is SNMP. I'm surprised you hadn't come across it already.
I can't leave a comment so I will leave an answer. I don't have a solid answer but I have a few bread crumbs that might be helpful.
see the comment on page 5 — https://discussions.apple.com/thread/5101886?start=60&tstart=0 by user "_r_s_"
Also
1) Open airport utility
2) Double click your airport device from the window or click the device and then click the edit button.
3) Now go to File>Export Configuration File
4) Open the .baseconfig file in your favorite editor
5) Now go to http://aldentech.wnyric.org/webshare/mkempste/AirPort%20Utility%20copy.app/Contents/Resources/English.lproj/AirPortSettings.strings to help you sort out what all the strings mean.
6) Edit your base config file — Use the site below to find out the strings meaning in the .baseconfig file and edit the file to yield the result you are looking for.
7) Import the file back to your airport device and it should give you the features it is capable of.
I am posting these steps because Apple has removed SNMP for Airport Utility but they appear to be in the XML.
If you are willing please leave a link to your project.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
When I create a version 1 UUID on this website, for all version 1 generations, last 48 bits are the same. I did some research and saw that it is the MAC address of the machine/host that UUID being created. However, I don't know which MAC address of my PC is this one. I checked the MAC addresses seen by ipconfig -all on Windows, but none of them were same with the value shown in the UUIDs.
I nmost probably misinterpret something, would be glad if anyone makes it clear for me.
Thanks.
I seriously doubt that websites have access to your MAC address by any mechanism (short of you entering it into a form manually), so it wouldn't be able to take that into consideration when generating a UUID on that site. If I pull up the developer tools and watch the network traffic when loading and submitting the form, I don't see a MAC ever transmitted to the website.
I'm going to guess that it's "emulating" a MAC address by using other information, like your public IP address combined with something else like your user-agent (both of which it does have access to).
It wouldn't even be that hard to do. Concatenate the IP + User Agent + Whatever else into a long string, hash the string, turn it into binary, then truncate it to 48-bits. That should be largely unique; even among users sharing the same public IP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have hosted my Prestashop at Fastdomain server it's like the 4th year, the website is stable and working fine till 3 days ago where my email inbox got full of spam and more than 300K requests on the site causing the site to go down.
I activated the basic protection from Sitelock provided from Fastdomain Cpanel, it worked fine for two days and the site is down again cuz of another strike.
Fastdomain support tried to fix it but no instant method they said the problem is caused due to script overuse in send to friend module, even though this module is an original PrestaShop module, and they said the website will "recover" in few hours.
any comment or thoughts? how t respond to such attack!?
my website is elektrojo.com and am using the up to date version
This appears to be a common problem. Not only is it taking your site down, it may be being used to spam others, which has the risk of getting your domain blacklisted.
In that thread was linked an updated version of the module supporting a CAPTCHA, along with a similar modification for product reviews. It seems to be for PrestaShop 1.5 and 1.6.
If you have some kind of a "backend" which you can update modules on, you should also do that.
Another suggestion is to use fail2ban to detect repeated attempts to access this feature and block it. You may not have the necessary access to do that, but if not, your hosts should be able to.
Failing that, you should remove the sendtoafriend code (ensure the files are actually gone from their original location) until you have found a way to harden it, since it's being abused to take your site down.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Delphi application that I cannot recompile.
In the process of moving the database to a new SQL Server version, I want to change the database password so it's no longer blank. The problem is that the application has the database credentials embedded in the .exe.
Is there any way that I can change the password?
Server name and database name are configurable.
If the connection string was saved in the TADOConnection component in design mode, Your best choice is to use Resource editor such as Resource Hacker.
The forms or data modules DFM are found in the RCData section. just change the connection string and use "Compile script".
This will save your changes back to the EXE file without the worry of corrupting the EXE.
I assume your EXE is not packed (PE packer) or digitally signed.
Below is a screenshot of part of a D7 .Exe of mine showing the relevant part of its Ado ConnectionString.
I used an antique file viewer (from the example apps accompanying an old TurboPower library) to take the screenshot. I just loaded the file into it, entered "persist" as the search string and skipped a couple of TPersistent instances to locate it.
Of course, you could use any old hex file-editor to do similar and change it, provided the .Exe isn't compressed or protected against tampering by checksums, etc.
You'll probably need to experiment a bit, & compare with another app which has a non-blank password so that you can come up with some new credentials that'll fit into the space available in the .Exe's disk image.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I just recentely started working with a new board: a AT91SAM7X-EK. I would like to get more information about the board's processor (AT91SAM7X256) and the board's flash. So I looked at a pretty detailed data sheet and a summary of the data sheet, but have been unsucessfull (so far) of finding the information I want. I would appreciate if anyone could help me on the following aspects of the board:
How do I connect to the board? Is it through ssh? If so, how is it possible to recuperate the board's IP address. I have an ethernet cable for the connection.
How do I load an application onto the board's flash? For example, I would like to cross compile (using a toolchain I've already installed - arm-none-eabi) a simple hello world program in C to load onto my board. How would I go about doing so?
I would appreciate any help on this issue.
The board is supplied "bare-metal" - no code, no OS. You will not be able to run Linux on an AT91SAM7X-EK - it has insufficient memory resources and rins at 30MHz tops (and has no MMU).
You need a hardware JTAG or DBGU interface device and a tool-chain that will work with it.
You should probably also be looking at the datasheet for the board itself. From the Getting Started section of that:
The AT91SAM7X-EK evaluation board is delivered with a DVD-ROM containing all necessary
information and step-by-step procedures for working with the most common
development tool chains. Please refer to this DVD-ROM, or to the AT91 web site,
http://www.atmel.com/products/AT91/, for the most up-to-date information on getting
started with the evaluation kit.
So start there.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
So I am almost finished with my first app. It was constructed in Visual Studio/C#. I am now trying to determine which license to run with. I plan to provide the program free of charge to businesses and consumers, however, I do not want to publish the source code.
What is the best licensing format to go with? This application is kind of a teaser for a more powerful version so I would like to publish this one for free and hopefully make some money selling the 'power user' version.
I will be packaging Putty with this. I am about to go read their site as I may need to role my own SSH client.
I will be headed to my lawyer this week. Just want to get a bit of knowledge before I talk to her so I don't look like a dumb fool. Thanks in advance for your input!
Putty uses the MIT licence, so all you need to do is incorporate that licence along with your software. For your code you can use whatever licence you choose, no one will ask for your code unless you explicitly want to make it public.