Adm1n_0v3rride

Ip adress interface changer.rb

Jan 15th, 2018
126
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env ruby -w
  2.  
  3. =begin
  4.  
  5. Ip address changer (C) 2018 Adm1n_0v3rride
  6.  
  7. =end
  8.  
  9. puts "Please enter the interface name: "
  10.  
  11. name = gets
  12.  
  13. puts "Please enter the ip address you want: "
  14.  
  15. address = gets
  16.  
  17. system("netsh interface ipv4 set address name=#{name} static 192.168.3.8 255.255.255.0 #{address}
  18. ")
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×