A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Scripts - can anyone here understand what this one might 'do'?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old May 15th 18, 02:16 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default Scripts - can anyone here understand what this one might 'do'?

Scripts - can anyone here understand what this one might 'do'?

I've asked the question he-

https://www.bleepingcomputer.com/for...-one-might-do/

Can anyone reading here provide the answer?

TIA

Ads
  #2  
Old May 15th 18, 02:27 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default Scripts - can anyone here understand what this one might 'do'?

In article , David B.
wrote:

Scripts - can anyone here understand what this one might 'do'?


off topic for this group, you asked about it already in another group
(and more than once), which was answered and which you ignored.

as usual, you're trolling.
  #3  
Old May 15th 18, 02:44 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default Scripts - can anyone here understand what this one might 'do'?

On 15/05/2018 14:27, *nospam the Troll* said ...

In article , David B.
wrote:

Scripts - can anyone here understand what this one might 'do'?


off topic for this group, you asked about it already in another group
(and more than once), which was answered and which you ignored.


Cite the MID

as usual, you're trolling.


No, that's what YOU do! :-P

I'm asking clever folk here if they can understand why the script was on
my old iMac and what it might have been doing.

There is NO such script on my new iMac. That in itself is rather odd,
don't you think?

--
David B.

  #4  
Old May 15th 18, 02:51 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default Scripts - can anyone here understand what this one might 'do'?

In article , David B.
wrote:

Scripts - can anyone here understand what this one might 'do'?


off topic for this group, you asked about it already in another group
(and more than once), which was answered and which you ignored.


Cite the MID


knock off the bull****. you know quite well you asked about it in
multiple threads over the past couple of weeks in the mac groups.


I'm asking clever folk here if they can understand why the script was on
my old iMac and what it might have been doing.


wrong group.

what it does was explained to you by *numerous* people in the other
threads, except that you're too stupid to understand any of it.

There is NO such script on my new iMac. That in itself is rather odd,
don't you think?


not at all.
  #5  
Old May 15th 18, 05:26 PM posted to alt.comp.os.windows-10
Auric__
external usenet poster
 
Posts: 295
Default OT: Scripts - can anyone here understand what this one might 'do'?

David B. wrote:

Scripts - can anyone here understand what this one might 'do'?

I've asked the question he-

https://www.bleepingcomputer.com/for...n-anyone-here-
understand-what-this-one-might-do/

Can anyone reading here provide the answer?


In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.

Personally, I would leave this script where you found it, as-is. It doesn't
do anything bothersome, and for all you know, something important might miss
it.

Many of these are covered in the man pages. Apple keeps a copy of the man
pages here (watch the word wrap):

https://developer.apple.com/legacy/l...n/Reference/Ma
nPages/

FreeBSD, which macOS partly derives from, has its man pages he

https://www.freebsd.org/cgi/man.cgi

Every line that begins with a pound (or hash, "#") character is a comment.

# Be strict
set -u


I couldn't find a good reference for Mac or BSD set, so I can't say for sure
what the switches do. This page:

http://linuxcommand.org/lc3_man_pages/seth.html

....says this:

set - Set or unset values of shell options and positional parameters.
[...]
-u Treat unset variables as an error when substituting.

....but Linux commands often have different options than their BSD
counterparts (which is what macOS uses), so take that with a grain of salt.

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/
CoreServices; export PATH


Sets the search path for the script, then exports it out to make it
"permanent" for the current login.

CheckForNetwork()
{

[SNIP]
}


A function that sets the shell variable NETWORKUP to indicate if the machine
is connected to a network.

alias ConsoleMessage=echo


Sets up a new command 'ConsoleMessage' that is just an alias for the command
'echo'. Why someone felt the need to do this is beyond me, but whatever.

GetPID ()
{

[SNIP]
}


A function that prints a program's process ID (PID) to the screen, but only
if it has a valid entry in /var/run.

RunService ()
{

[SNIP]
}


A function that calls what I assume are other functions, apparently specific
to services (daemons).

--
I did every horrible thing in the book just to get revenues.
-- Mark Pincus, CEO, Zinga
  #6  
Old May 15th 18, 06:42 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default OT: Scripts - can anyone here understand what this one might 'do'?

In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?


In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.

he's not interested in answers.
  #7  
Old May 15th 18, 08:04 PM posted to alt.comp.os.windows-10
Char Jackson
external usenet poster
 
Posts: 10,449
Default OT: Scripts - can anyone here understand what this one might 'do'?

On Tue, 15 May 2018 13:42:28 -0400, nospam
wrote:

In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?


In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.

he's not interested in answers.


He's not interested in _technical_ answers. He doesn't understand that
kind of talk. He just wants someone to agree with him that the script is
shady and that it appeared on his iMac under false pretenses. (It's not
and it didn't.) Until he gets exactly that answer, and not what he calls
a tekkie answer, he'll continue to ask the same question in every group
and forum he still has access to. He tends to get banned from forums, so
there's that.


  #8  
Old May 15th 18, 08:07 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default OT: Scripts - can anyone here understand what this one might 'do'?

In article , Char Jackson
wrote:

David B. wrote:
Can anyone reading here provide the answer?

In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.

he's not interested in answers.


He's not interested in _technical_ answers. He doesn't understand that
kind of talk.


he doesn't understand much of anything.

He just wants someone to agree with him that the script is
shady and that it appeared on his iMac under false pretenses. (It's not
and it didn't.) Until he gets exactly that answer, and not what he calls
a tekkie answer, he'll continue to ask the same question in every group
and forum he still has access to. He tends to get banned from forums, so
there's that.


he keeps linking to threads he's started on various forums where people
rip him to shreds.

unfortunately, he can't be banned from usenet, nor will his isp shut
him down.
  #9  
Old May 15th 18, 08:38 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default OT: Scripts - can anyone here understand what this one might'do'?

On 15/05/2018 18:42, nospam wrote:
In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?


In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.


Then cite the MIDs 'nospam'

I have no record of any answers being given.

he's not interested in answers.


That simply isn't true.

I want to know why my new iMac has no such script showing when I scan
with KnockKnock. I've reinstalled High Sierra and there's STILL no sign
of that script.

--
David B.

  #10  
Old May 15th 18, 08:58 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default OT: Scripts - can anyone here understand what this one might 'do'?

In article , David B.
wrote:

David B. wrote:
Can anyone reading here provide the answer?

In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.


Then cite the MIDs 'nospam'



here's two, the first of which was crossposted to this group and
several others:

...........
In article , David B.
wrote:
I'm fairly confident that the script I am querying is not an original
Apple feature so *SOMEBODY* must have put it on to my machine deliberately.

The question remains - *WHO* did? ;-)

Here's a reminder of the script I'm querying:-

...........
In article , David B.
wrote:
KnockKnock found this start-up script:-

What is it designed to do?

...........


I have no record of any answers being given.


bull ****ing **** you don't.

you even responded to some of the answers!



he's not interested in answers.


That simply isn't true.


it's very true.

I want to know why my new iMac has no such script showing when I scan
with KnockKnock.


no you don't.

I've reinstalled High Sierra and there's STILL no sign
of that script.


what you meant to say is that there's no sign of intelligent life in
your house.
  #11  
Old May 15th 18, 09:14 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default OT: Scripts - can anyone here understand what this one might'do'?

David B. wrote:
On 15/05/2018 18:42, nospam wrote:
In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?

In the future, I would ask Mac-related questions in a Mac group, such as
comp.sys.mac.misc.


he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.


Then cite the MIDs 'nospam'

I have no record of any answers being given.

he's not interested in answers.


That simply isn't true.

I want to know why my new iMac has no such script showing when I scan
with KnockKnock. I've reinstalled High Sierra and there's STILL no sign
of that script.


The file doesn't have a filename.

Have you tried looking for that filename being
present inside other scripts ?

Paul
  #12  
Old May 15th 18, 10:14 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default OT: Scripts - can anyone here understand what this one might'do'?

On 15/05/2018 21:14, Paul wrote:
David B. wrote:
On 15/05/2018 18:42, nospam wrote:
In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?

In the future, I would ask Mac-related questions in a Mac group,
such as
comp.sys.mac.misc.

he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.


Then cite the MIDs 'nospam'

I have no record of any answers being given.

he's not interested in answers.


That simply isn't true.

I want to know why my new iMac has no such script showing when I scan
with KnockKnock. I've reinstalled High Sierra and there's STILL no
sign of that script.


The file doesn't have a filename.


It does! It's called 'rc.common'.

I've searched my hard drive with an App called EasyFind and located it
in a 'private' folder. Here's an image:-

https://imgur.com/gallery/D7yNGMU

Have you tried looking for that filename being
present inside other scripts ?


No. I'm not sure I'd know how to do that.

--
David B.

  #13  
Old May 15th 18, 10:40 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default OT: Scripts - can anyone here understand what this one might'do'?

On 15/05/2018 21:14, Paul wrote:
David B. wrote:
On 15/05/2018 18:42, nospam wrote:
In article 23,
Auric__ wrote:

David B. wrote:
Can anyone reading here provide the answer?

In the future, I would ask Mac-related questions in a Mac group,
such as
comp.sys.mac.misc.

he did ask there (actually .system) and on more than one occasion, with
several people explaining what it did.


Then cite the MIDs 'nospam'

I have no record of any answers being given.

he's not interested in answers.


That simply isn't true.

I want to know why my new iMac has no such script showing when I scan
with KnockKnock. I've reinstalled High Sierra and there's STILL no
sign of that script.


The file doesn't have a filename.

Have you tried looking for that filename being
present inside other scripts ?

Â*Â* Paul


Hi Paul

I did get one sensible answer on the Apple group but I don't fully
understand what is being said. Here the link ...

https://developer.apple.com/library/...rtupItems.html

Does that mean much to you?

--
David B.
  #14  
Old May 15th 18, 10:48 PM posted to alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default OT: Scripts - can anyone here understand what this one might 'do'?

In article , David B.
wrote:

I did get one sensible answer on the Apple group but I don't fully
understand what is being said.


you don't understand *anything*.

Here the link ...


what part of wrong group is not clear?
  #15  
Old May 15th 18, 11:03 PM posted to alt.comp.os.windows-10
David B.[_7_]
external usenet poster
 
Posts: 195
Default OT: Scripts - can anyone here understand what this one might'do'?

On 15/05/2018 22:48, nospam wrote:
In article , David B.
wrote:

I did get one sensible answer on the Apple group but I don't fully
understand what is being said.


you don't understand *anything*.


Are you *SURE* about that? ;-)

Here the link ...


what part of wrong group is not clear?


I may ask questions about anything I wish in ANY Usenet group. I monitor
the Windows 10 group because I have a Windows 10 computer and am aware
that there are some very clever and honest folk posting here.

FYI, I ALSO asked he-

https://forums.malwarebytes.com/topi...k-my-question/

--
David B.

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 05:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.