Internetvote's Posts
Nairaland Forum › Internetvote's Profile › Internetvote's Posts
1 (of 1 pages)
guru01:See what I got in the screenshot with telize for this IP address: 82.128.118.0 It shows the country but no city no state. Try the same ip address here with my-ip-address-is: http://www.my-ip-address-is.com/ip/82.128.118.0 you will see it displays the city and state.
|
. |
guru01:Thanks for the link, I have already tried their JASON api but did not get the name of the state or city. Try http://www.my-ip-address-is.com/ with any Nigerian IP address it will show you the name of the city and state. I would love to get the api they are using. |
guru01:I have seen some sites that can give you the region of any ip address. What I need now is where to get a good api for doing such, the free ones around are no good for finding Nigerian state regions by the ip address. |
guru01:Best way is to get the mac address of the device and this can be done with a Java applet. |
blenyo11:Project reopened . The way around the db owner manipulating the vote is to send the votes to an independent panel at the same time they are been sent to the database, so if the db owner should tamper with the votes alarm bell can start ringing. |
guru01:I built this application from scratch. All that is left is restricting voters from voting twice and to use their ip address to make sure they can only vote from their state. |
codeaddict:We can even do it in seconds. http://www.nairavote.com All that is left now is a way to restrict voters to one vote, one device and to their state. |
Collaborators wanted to help make online voters to be restricted to voting from their state only and a way to identity the device a voter is using to prevent re-voting with the same device. |
The action continues online. You can now cast you vote online for fun at: http://www.nairavote.com |
internetpo:Nice advice bro. Any chance you and I can go into partnership? I do the coding and you bring the investors in, how about that? |
internetpo:Thanks for dropping your comment. Yeah the advice of naijatechworld and Iamgodzilla can be taken care of once I get the interest of the organisations you suggested. Though I'm not sure of how to get them interested. |
Rilwayne001:Internet voting is here to stay, better cast your vote now. |
WhiZTiM:Phew! You really went into great detail, thank you so much for taking your time to do so. My aim is not to scare voters off, that is the reason I want to avoid any form of registration unless it is to be used for a real election. I have found two options for now to track voters so that they can only vote once even if a voter deletes the traditional HTTP cookie from their device. The first is evercookies at http://samy.pl/evercookie http://en.wikipedia.org/wiki/Evercookie it is a JavaScript library which stores itself in multiple locations which makes it a difficult cookie to delete. But for ethical reasons I will have to inform the voters about this type of cookie, before they go ahead to vote. The second is the Java Applet below at: http://diablohorn./2008/10/28/trusting-java-applets that can get the MAC address of a device, though I have not yet tried it, but this will be my preferred option if it works. <HTML> <HEAD> <TITLE>Get MacAddress Applet</TITLE> </HEAD> Get MacAddress applet<BR> <applet code="GetMacAddress.class" archive="GetMacAddress.jar" width=1 height=1> <PARAM NAME="BASEURL" VALUE="http://www.google.com/bleh="> </applet> </BODY> </HTML> So now for the example code of the “evil” applet. import java.applet.Applet; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * This applet gets the mac address from a windows machine * @author DiabloHorn */ public class GetMacAddress extends Applet { /** Creates a new instance of GetMacAddress*/ public void init() { try{ String macAddress = this.getMacAddress(); URL url = new URL(this.getParameter("BASEURL" +macAddress);getAppletContext().showDocument(url, "_self" ;}catch(Exception e){ System.out.println(e); } } public String getMacAddress() throws IOException { String macAddress = null; String command = "ipconfig /all"; Process pid = Runtime.getRuntime().exec(command); BufferedReader in = new BufferedReader(new InputStreamReader(pid.getInputStream())); while (true) { String line = in.readLine(); if (line == null) { break; } Pattern p = Pattern.compile(".*((:?[0-9a-f]{2}[-:]){5}[0-9a-f]{2}).*",Pattern.CASE_INSENSITIVE); Matcher m = p.matcher(line); if (m.matches()) { macAddress = m.group(1); break; } } in.close(); return macAddress; } } |
ghettodreamz:Thx I will do my best to keep improving on it. If I mention the language it was built with, it might start a language war here ![]() |
mobolaji88:I posted it here for others to test and for their comments and contributions. Making it opensource at this stage when the voting application is 100% complete and fully functional is not really a good idea. Thought you will get my joke about making it opensource for investors. Updated: If I want to pay you to come and work on this project will you say no ![]() |
mobolaji88:If you can assist to make it opensource for investors, then I'm in for that kind of opensource ![]() |
bambeolumide:Thx for your kind words, we will surely get there one day and make our country naija to overtake countries like Japan. |
mobolaji88:Opensource! No O , I have already used complex algorithms for the voting functionality and the back-end SQL which I would like to retain as my own intellectual property. I will continue to improve on the application so that it can retrieve the MAC address of every device that visits this site as the MAC address of a device has no duplicate and it is unique to that device only. |
mobolaji88:Be rest assured that I'm a Nairalander who has a passion for building web applications. I will continue to make improvements on it to stop any form of cyber rigging. As this is a we application with no registration required, it will not be possible at present to make anyone accountable for misconduct, until we can make people to register like banks do. You can help us build a team here so that this web application can become an acceptable way for us to vote in the future. |
africanaija:Thx I will keep improving on it. |
naijatechworld:Thanks for the interest you have shown in this application. Yeah I can make it so that only Nigerians can vote in it, by checking the country's IP location to only allow voting in Nigeria. I will continue to improve the site to make ensure the other issues you raised will not occur. |
IamGodzilla:Thx for your suggestions. Getting a visitor's MAC address will be the ultimate guarantee to uniquely identify a visitor, this I'm working on at present. Another alternative is the use browser fingerprinting but the device must have JavaScript enabled. |
davidsmith8900:Thx. I will work on a mobile app version later. |
dimensional:Thanks for you comment. Please help spread the word. |
I have created this Online voting application for Nigerian at http://www.nairavote.com I would like you to help me to test it and to suggest improvements. Updated: Collaborators are welcomed
|
PDP is leading in the online voting, were are the APC voters? |
Remember one man one woman one device one vote |
Online voting is on at: http://nairavote.com Disclaimer: Please note that this is not an official Presidential Election [size=15pt]No internet vote rigging please.[/size]
|
1 (of 1 pages)


+macAddress);