| View previous topic :: View next topic |
| Author |
Message |
Ugly Truth How do I cheat?
Reputation: 0
Joined: 04 Dec 2013 Posts: 9
|
Posted: Fri Apr 25, 2014 11:02 am Post subject: MAC Addess Help! |
|
|
I have problems about detecting MAC Address, some computer it's work perfectly and some not work. I don't know why, so please help me out.
I have attachment below, thanks you.
| Description: |
|
 Download |
| Filename: |
GetMAC.CT |
| Filesize: |
2.96 KB |
| Downloaded: |
453 Time(s) |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25839 Location: The netherlands
|
Posted: Fri Apr 25, 2014 11:24 am Post subject: |
|
|
It's most likely because the people where it doesn't work have a different language than english, or they changed their network adapter name to something else. (e.g internet interface)
try looking for a : followed by 5 hexadecimal numbers separated minus signs
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Ugly Truth How do I cheat?
Reputation: 0
Joined: 04 Dec 2013 Posts: 9
|
Posted: Fri Apr 25, 2014 1:19 pm Post subject: |
|
|
Nơw I know I have problem with this code
| Code: | function abc()
h = io.popen('ipconfig /all')
line = h:read()
while line do
if line:find 'Wireless LAN adapter Wireless Network Connection' then
line = h:read()
while not line:find 'Description' do
line = h:read()
end
heo3=line:match(': (.+)')
UDF1.cbNetworkSelect.items.add(heo3)
while not line:find 'Physical Address' do
line = h:read()
end
heo1=line:match(': (.+)')
end
if line:find 'Ethernet adapter Local Area Connection' then
line = h:read()
while not line:find 'Description' do
line = h:read()
end
heo2=line:match(': (.+)')
UDF1.cbNetworkSelect.items.add(heo2)
while not line:find 'Physical Address' do
line = h:read()
end
heo4=line:match(': (.+)')
end
line = h:read()
end
end |
I'm tested with 4 computer, it's not showing mac address with 2 PC doesn't have wifi card, and it's work perfectly with PC have wifi card and cable card.
So any idea to fix it? Thanks u Dark Byte.
|
|
| Back to top |
|
 |
Ugly Truth How do I cheat?
Reputation: 0
Joined: 04 Dec 2013 Posts: 9
|
Posted: Sat Apr 26, 2014 3:46 pm Post subject: |
|
|
My problem is solved.
And can I ask one more question ?
| Code: | h = io.popen('WMIC PROCESS get Caption,Commandline')
line = h:read() |
why io.popen not closing after open ?
And this code
| Code: | os.execute("WMIC /OUTPUT:C:\\ProcessList.txt PROCESS get Caption,Commandline")
h=io.popen('C:\\ProcessList.txt')
line=h:read()
while line do
print(line)
end |
All the string in ProcessList.txt become "??C" , do anyone know why ?
|
|
| Back to top |
|
 |
|