Copy protection serial number stuff

Until our dedicated user library is in place you can post examples and modules here

Moderators: electrogear, exonerate

Re: Copy protection serial number stuff

Postby theun on Sun Jun 14, 2009 5:59 pm

Hi Aliasant,

There is a simple command line tool to find the MAC addresses in use on a PC.

First go to the "run" box in the start menu, then type "cmd" followed by <enter>.
Now type "ipconfig /all" followed by <enter>

However, SM finds 7 MAC addresses, of which I can identify sofar only 3.
5th is my ethernet card,
6th wireless
7th "Teredo tunneling pseudo-interface"

ipconfig finds only 6! And "Technitium" only 2.

B.t.w. I am 90% sure (but can't proof it as I didn't save anything) that the MAC primitive yesterday returned 8 MAC addresses on this PC.

It seems to me that the MAC primitive as it is now is not really usable,

Cheers!
Still working on the same stuff.....
But..... back on track!
"I just had to postpone my project for another 3 months, I had some brilliant ideas, you know, so I had to start coding from scratch..."
User avatar
theun
essemilian
 
Posts: 236
Joined: Thu Oct 19, 2006 11:41 am
Location: 10 feet below sea level

Re: Copy protection serial number stuff

Postby aliasant on Sun Jun 14, 2009 6:42 pm

No shit. Thanx Theun.

I ran that command and it listed my BT and my two ethernet cards. Same as SM.
Then it listed some other stuff including Teredo Tunneling Pseudo blablaba.
It doesnt really matter what it lists as long as it lists the same every time.

What it didnt list are those first 2 entries that SM reports.


Odd maybe?
Seems very unreliable =(

On the other hand the Mac serial has been steady for me. Keeps reporting the same even though I have 3 drives now.
Is that the case for every one else?

If it is I will keep using that one and skip the MAC for now.
If not I guess Ill do what AM thinks about. Skip it.
Unless we can dig up another unique number from our computers ?
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Copy protection serial number stuff

Postby TomC on Sun Jun 14, 2009 7:18 pm

aliasant wrote:Maybe we should only use the last reported MAC? The one after the last comma?


That is a VERY good idea. I have to do something else right now, but later (or maybe tomorrow) I'll
implement this into my coding.

Tom
.signature failure
User avatar
TomC
smanatic
 
Posts: 709
Joined: Tue Oct 02, 2007 9:34 pm
Location: 3rd rock from the sun

Re: Copy protection serial number stuff

Postby sunsynth on Sun Jun 14, 2009 8:04 pm

No...

dosn't work because a virtual NW-Card is reported at last on my XP...
User avatar
sunsynth
smaniac
 
Posts: 1496
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Re: Copy protection serial number stuff

Postby aliasant on Sun Jun 14, 2009 8:10 pm

sunsynth wrote:No...

dosn't work because a virtual NW-Card is reported at last on my XP...


Thats it then. Its useless =/
Unless you strip the first say 5 characters + the all the commas and dots.
Then add all the individual numbers left together. 3+7+1+6+4+4+8 and so on.
It doesnt matter what order they are in. the sum will always be the same.
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Copy protection serial number stuff

Postby DigitalWhiteByte on Sun Jun 14, 2009 9:03 pm

hi guys,

try this in command line getmac /fo table /nh > c:\MAcAddress.txt

Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer, either locally or across a network.

maybe can help, instead of taking them from SM, you can import ... :(
User avatar
DigitalWhiteByte
smanatic
 
Posts: 697
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: Copy protection serial number stuff

Postby TomC on Sun Jun 14, 2009 9:10 pm

DigitalWhiteByte wrote:hi guys,

try this in command line getmac /fo table /nh > c:\MAcAddress.txt

Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer, either locally or across a network.

maybe can help, instead of taking them from SM, you can import ... :(


I guess getmac uses the same system API call malc uses, but maybe one of you
guys with the problems can test this.

Tom
.signature failure
User avatar
TomC
smanatic
 
Posts: 709
Joined: Tue Oct 02, 2007 9:34 pm
Location: 3rd rock from the sun

Re: Copy protection serial number stuff

Postby aliasant on Sun Jun 14, 2009 10:03 pm

My result is this:
00-17-F2-0F-DE-C4 Media disconnected
00-17-F2-0F-DE-C5 \Device\Tcpip_{CEE93214-DDF9-4725-B432-8D461981A623}
00-16-CB-25-91-23 Media disconnected


These are my main ethernet cards and the last one is my bluetooth card.
Hope it helps.
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Copy protection serial number stuff

Postby DigitalWhiteByte on Sun Jun 14, 2009 10:38 pm

aliasant this figure changes on each reboot or remain stable?
this is a link http://www.coffer.com/mac_find/ that indicates the Vendor based on Mac Address,
the reference runs only on the first 6 characters, and actually appear all of Apple.

If it remains stable, we could use this instead of GetMac of SM, informing of these difficulties to Malc, do not you think?
User avatar
DigitalWhiteByte
smanatic
 
Posts: 697
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: Copy protection serial number stuff

Postby aliasant on Sun Jun 14, 2009 10:50 pm

DigitalWhiteByte wrote:aliasant this figure changes on each reboot or remain stable?
this is a link http://www.coffer.com/mac_find/ that indicates the Vendor based on Mac Address,
the reference runs only on the first 6 characters, and actually appear all of Apple.

If it remains stable, we could use this instead of GetMac of SM, informing of these difficulties to Malc, do not you think?



I agree. If others report the same. My numbers should be stable the one that changes on every reboot is not in that list.
Lets see what the others are saying. Could be nice to have a few more tests :)
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Copy protection serial number stuff

Postby theun on Sun Jun 14, 2009 11:21 pm

Interesting, the getmac command returns only the 2 real network cards, first is the wireless, 2nd the ethernet card.

00-C0-A8-DD-FC-04 \Device\Tcpip_{22289820-660E-4488-B106-BCD1F4E64F1C}
00-1A-92-D1-DC-CF Verbinding met medium verbroken

regards, theun
Still working on the same stuff.....
But..... back on track!
"I just had to postpone my project for another 3 months, I had some brilliant ideas, you know, so I had to start coding from scratch..."
User avatar
theun
essemilian
 
Posts: 236
Joined: Thu Oct 19, 2006 11:41 am
Location: 10 feet below sea level

Re: Copy protection serial number stuff

Postby theun on Mon Jun 15, 2009 12:09 am

Another thought is that from what i've seen sofar, most of the pseudo/virtual/whatsmore generated #'s can quite easily be rejected as a valid MAC number. Some of the numbers the MAC primitive returns here are e.g.

50-50-54-50-30-30,
33-50-6F-45-30-30,
38-C3-20-52-41-53,
20-41-53-59-4E-FF

whilst only OUI numbers (manufacturer ID's) have been issued, that start with 00 (>95 % seems to start with 00), 02, 04, 08, 10, 11, A0, AA and AC.

So you can almost see at a glance that the 4 MAC adresses listed are invalid.
Though many invalid MAC numbers can be eliminated quickly, the real trouble is of course in the categories that start with a valid number. Thousands, maybe tenthousands of these OUI's have been issued. Here is the complete list (is maintained on a daily basis!):http://standards.ieee.org/regauth/oui/oui.txt

O.K enough for today again ...

Cheers!
Still working on the same stuff.....
But..... back on track!
"I just had to postpone my project for another 3 months, I had some brilliant ideas, you know, so I had to start coding from scratch..."
User avatar
theun
essemilian
 
Posts: 236
Joined: Thu Oct 19, 2006 11:41 am
Location: 10 feet below sea level

Re: Copy protection serial number stuff

Postby theun on Mon Jun 15, 2009 1:27 pm

DigitalWhiteByte wrote:hi guys,

try this in command line getmac /fo table /nh > c:\MAcAddress.txt
maybe can help, instead of taking them from SM, you can import ... :(


brilliant idea, I think!

I made a working osm that outputs the MAC adressess found by getmac.
It will return max 5 addresses, seems enough to me ..
It deletes the txt file after finishing. Though it still doesn't feel right writing in the C: directory.

I hope this is useful,

Cheers!
Attachments
getmac.osm
(4.72 KiB) Downloaded 151 times
Still working on the same stuff.....
But..... back on track!
"I just had to postpone my project for another 3 months, I had some brilliant ideas, you know, so I had to start coding from scratch..."
User avatar
theun
essemilian
 
Posts: 236
Joined: Thu Oct 19, 2006 11:41 am
Location: 10 feet below sea level

Re: Copy protection serial number stuff

Postby aliasant on Mon Jun 15, 2009 1:39 pm

theun wrote:I made a working osm that outputs the MAC adressess found by getmac.
It will return max 5 addresses, seems enough to me ..
It deletes the txt file after finishing. Though it still doesn't feel right writing in the C: directory.

I hope this is useful,

Cheers!


It is brilliant. I need to learn some of these command tricks.

One Q. When I run this it gives me 3 cards. But the whole series of numbers ends with 2 commas.
Is that ok?
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Copy protection serial number stuff

Postby sunsynth on Mon Jun 15, 2009 2:05 pm

I hate 2 put a damper again on the getmac idea:

...XP Home misses this prog !
User avatar
sunsynth
smaniac
 
Posts: 1496
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

PreviousNext

Return to Examples

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests