Results 1 to 24 of 24

Thread: Batch Files

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default Batch Files

    I have a web design class I go to. Theres a guy on the other side of the room that uses batch files to shut down your computer. He won't tell me how to do it. He takes the numbers off the sticker thats on your computer and puts them in. He saves them a weird way in notepad and something happens is DOS. Does anyone know how to do that? I know I gave a pretty shitty description. Also if anyone knows how to send net sends or whatever there called. post up please

  2. #2
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    couple of questions: what os? second what is on the tag? my guess is computer name or network address. if it's xp you can do it through a simple dos window instead of using a batch file. using a batch file was more for 95, 98, and me.
    No siggy as of right now

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    its XP

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    its on a network but im not sure what tag's he is using

  5. #5
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    i'm not gonna tell you straight up how to do it b/c that kinda how i am lol, but you can google it and find some info. experiment and play around with what you find.... alot more fun learning on your own :-D

    btw saved what you are doing b4 you start to play around b/c you might lose something ur working on.
    No siggy as of right now

  6. #6
    IA KING
    Join Date
    Nov 2002
    Location
    Atlanta
    Posts
    14,745
    Rep Power
    150

    Default

    do you know his ip address? get me his ip address and i'll give you ways to get him back

    to get address:

    1) go to his computer
    2) start > run > cmd
    3) ipconfig
    4) enter

    192.168.1.1 <<< variation like that

  7. #7
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    if he's at a public school then they might block out the cmd promt. actually i just thought of something lol. if the other kid was using a .bat file then they probably do block the cmd propt. I know in my high school they tried to block a lot for regular users
    No siggy as of right now

  8. #8
    Mountain man green91's Avatar
    Join Date
    May 2003
    Location
    Dahlonega, Ga
    Posts
    8,975
    Rep Power
    46

    Default

    there isnt a command implemented into XP that easily allows remote computers to shut others down, id imagine he is running some sort of trojan on the systems or is using your school system's network control software if they have any

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    i can get his isp address. i did the google search thing on trying to learn how to do some things. but its really confusing and some sites dont tell me how to do anything. Ill keep looking

  10. #10
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    Quote Originally Posted by green91
    there isnt a command implemented into XP that easily allows remote computers to shut others down, id imagine he is running some sort of trojan on the systems or is using your school system's network control software if they have any
    how much do you want to bet?

    try out: shutdown -r -m (address here: eg: \\192.168.1.96)

    that will shutdown and restart the remote computer

    if you open up notepad and type:

    shutdown -r -m \\192.168.1.96
    exit

    the save it as a .bat then open it, it will do the same exact thing

    i just double checked it with my server and both methods worked. my computer is win xp pro, my server is windows server 2003 enterprise edition...

    Bacon: what school do you go to? If it's in gwinnett then there are a lot of back ways around things. gwinnett IT specialist = total noobs
    Last edited by v3rd1g0; 03-07-2006 at 08:50 PM.
    No siggy as of right now

  11. #11
    BYAAAAAAAHHH!!! threehundred's Avatar
    Join Date
    Nov 2002
    Location
    22" off the ground
    Age
    46
    Posts
    2,712
    Rep Power
    26

    Default

    shit, just go over there and punch buddy in the face
    05 Chrysler 300 - Kitted on 22s
    06 Quad Cab Dodge Ram 1500

  12. #12
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    hahahaha that works too
    No siggy as of right now

  13. #13
    IA KING
    Join Date
    Nov 2002
    Location
    Atlanta
    Posts
    14,745
    Rep Power
    150

    Default

    if you can get to a cmd prompt net send him and repeat it to infinity .... bahhh thats so annoying

  14. #14
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    i got mill creek high school witch is in gwinnett county

  15. #15
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    it keeps doing this when i try it

  16. #16
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    just says H:\Web Design>shutdown -r -m \\168.9.212.7

  17. #17
    Mountain man green91's Avatar
    Join Date
    May 2003
    Location
    Dahlonega, Ga
    Posts
    8,975
    Rep Power
    46

    Default

    thats because its echoing the command you placed in the .bat file. if u want it to stop saying that, type @echo off in the top of the .bat file. i think for that remote shutdown command to work youve gotta have remote administrative privleges or something.. i cannot imaging them implementing an open remote shutdown command.

  18. #18
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    gwinnett has done some stupid things. last year they created an account for all seniors to log in under to take the EOCT's and they gave it admin piv..... that's how i got a copy of my trig final exam. don't believe me? i'll send you a copy lol. with the admin priv you are able to access all folders on the network: teachers, students everything. not just view but write aswell lol.
    No siggy as of right now

  19. #19
    B00B Wedge's Avatar
    Join Date
    Aug 2005
    Location
    Conyers
    Age
    45
    Posts
    157
    Rep Power
    21

    Default

    if he gets your address and it's probably on dhcp just type in:

    ipconfig /renew

    it changes your ip address (if it's on dhcp) and he would have to keep going back to get it.. you can also set that up to run in windows as a schedualed task every 5 minutes to make it keep changing

  20. #20
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    i dont' think the school would be on dhcp because its too much of a security hazard. if they had it on then students could continuelly change their ips when they are messing around on the network.
    No siggy as of right now

  21. #21
    Mountain man green91's Avatar
    Join Date
    May 2003
    Location
    Dahlonega, Ga
    Posts
    8,975
    Rep Power
    46

    Default

    security hazard? thats crazy. typically even with a dhcp renew on a LAN it will give the same IP back to the same MAC (hardware) address. how would dhcp be a security hazard? the idea that they would individually set up static ips for each of several thousand computers is rediculous.

  22. #22
    giggity giggity goo ReCkLe5s's Avatar
    Join Date
    Jan 2006
    Location
    Cumming
    Age
    41
    Posts
    363
    Rep Power
    20

    Default

    no static ip but damn near close i would think that each node/switch would have its on static ip with hopfully mac filtering.. so no swinging dick could jack in to the network.. but hs are known for super lax computer security



  23. #23
    Senior Member
    Join Date
    Apr 2005
    Location
    San jose, CA
    Age
    36
    Posts
    2,104
    Rep Power
    24

    Default

    for some reason when i check every1's computers they have the same isp as everyone else. i gave up on this. i just play the falling sand game for now until they block it

  24. #24
    Mountain man green91's Avatar
    Join Date
    May 2003
    Location
    Dahlonega, Ga
    Posts
    8,975
    Rep Power
    46

    Default

    DHCP with mac filtering would be more effective. static ips from a network admin standpoint is a nightmare.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
ImportAtlanta is a community of gearheads and car enthusiasts. It does not matter what kind of car or bike you drive, IA is an open community for any gearhead. Whether you're looking for advice on a performance build or posting your wheels for sale, you're welcome here!
Announcement
Welcome back to ImportAtlanta. We are currently undergoing many changes, so please report any issues you encounter with the site using the 'Contact Us' button below. Thank you!