Guest User

Untitled

a guest
May 30th, 2012
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. How to change your MAC address on Linux Ubuntu ?
  2.  
  3.  
  4. Open a root terminal :
  5. apt-get install macchanger macchanger-gtk
  6.  
  7. Then we have to had some lies of code in macchanger-gtk :)
  8. We gonna use Geany. If you don't have it :
  9.  
  10. apt-get install geany
  11.  
  12. When Geany installed (still in a root terminal):
  13.  
  14. geany /usr/sbin/macchanger-gtk
  15.  
  16. When you are in Geany, search for "my $interfaz = &captura_de_informacion;"
  17. When you have this line, add the following lines after it :
  18.  
  19. my $commande = "ifconfig $interfaz down";
  20. my $resultat = system($commande);
  21.  
  22. Then search for "$ventana_informacion->show_all;"
  23. So you found this line, and the line just under, you will find the "}" charachter
  24. Under this char, add the following lines :
  25.  
  26. my $commande = "ifconfig $interfaz up";
  27. my $resultat = system($commande);
  28.  
  29. Then save it :)
  30. In your root terminal type :
  31.  
  32. geany /usr/share/menu/macchanger-gtk
  33.  
  34. and in the new document, copypasta it :
  35.  
  36. ?package(macchanger-gtk):needs="X11" section="Applications/System/Security"\
  37. title="MACchanger-gtk" command="/usr/sbin/macchanger-gtk"
  38.  
  39. Then save it.
  40.  
  41. Now you will find MacChanger in Applications > System > Security
  42. Use it !
  43.  
  44.  
  45.  
  46. IF YOU DID SOMETHING WRONG IN MACCHANGER-GTK CODE, IT IS HERE : http://pastebin.com/Qqge22uE
  47.  
  48.  
  49. Tutorial by @an0nymind
  50. https://twitter.com/an0nymind
Advertisement
Add Comment
Please, Sign In to add comment