Non-SMTP Session Start Question

I'm getting hundreds of triggers on signature 5748 Non-SMTP Session Start. When I put a block host on this signature I stop getting e-mail. Should this be considered normal traffic.

Hi,
Regarding signature 5748 firing SMTP session initiation with something other than HELO or EHLO. See below for MySDN link on this
signature
http://tools.cisco.com/MySDN/Intelligence/viewSignature.x?signatureId=5748&signatureSubId=0
I'm assuming subsig 0. Is this true?
This is likely a type of reconnaissance attack to see if you are running
an smtp service at this IP address and what type and version number of
smtp software you're running (i.e., Sendmail, Postfix, Microsoft
Exchange, etc.) as they'll get the smtp banner after their initial
connect.
When you see the signature alert, who's the attacker?
You can turn on 'produce verbose alert' to see more information.
Thank you.
Edward

Similar Messages

  • NON-transactional session bean access entity bean

    We are currently profiling our product using Borland OptmizeIt tool, and we
    found some interesting issues. Due to our design, we have many session beans which
    are non transactional, and these session beans will access entity beans to do
    the reading operations, such as getWeight, getRate, since it's read only, there
    is no need to do transaction commit stuff which really takes time, this could
    be seen through the profile. I know weblogic support readonly entity bean, but
    it seems that it only has benefit on ejbLoad call, my test program shows that
    weblogic still creates local transaction even I specified it as transaction not
    supported, and Transaction.commit() will always be called in postInvoke(), from
    the profile, we got that for a single method call, such as getRate(), 80% time
    spent on postInvoke(), any suggestion on this? BTW, most of our entity beans are
    using Exclusive lock, that's the reason that we use non-transactional session
    bean to avoid dead lock problem.
    Thanks

    Slava,
    Thanks for the link, actually I read it before, and following is what I extracted
    it from the doc:
    <weblogic-doc>
    Do not set db-is-shared to "false" if you set the entity bean's concurrency
    strategy to the "Database" option. If you do, WebLogic Server will ignore the
    db-is-shared setting.
    </weblogic-doc>
    Thanks
    "Slava Imeshev" <[email protected]> wrote:
    Hi Jinsong,
    You may want to read this to get more detailed explanation
    on db-is-shared (cache-between-transactions for 7.0):
    http://e-docs.bea.com/wls/docs61/ejb/EJB_environment.html#1127563
    Let me know if you have any questions.
    Regards,
    Slava Imeshev
    "Jinsong HU" <[email protected]> wrote in message
    news:[email protected]...
    Thanks.
    But it's still not clear to me in db-is-shared setting, if I specifiedentity
    lock as database lock, I assumed db-is-shared is useless, because foreach
    new
    transaction, entity bean will reload data anyway. Correct me if I amwrong.
    Jinsong
    "Slava Imeshev" <[email protected]> wrote:
    Jinsong,
    See my answers inline.
    "Jinsong Hu" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    Thanks for your reply, actually, I agree with you, we need to
    review
    our db
    schema and seperate business logic to avoid db lock. I can not say,guys,
    we need
    to change this and that, since it's a big application and developedsince
    EJB1.0
    spec, I think they are afraid to do such a big change.Total rewrite is the worst thing that can happen to an app. The
    better aproach would be identifying the most critical piece and
    make a surgery on it.
    Following are questions in my mind:
    (1) I think there should be many companies using weblogic serverto
    develop
    large enterprise applications, I am just wondering what's the maintransaction/lock
    mechanism that is used? Transional session / database lock,
    db-is-shared
    entity
    I can't say for the whole community, as for my experience the standard
    usage patthern is session fasades calling Entity EJBs while having
    Required TX attribute plus plain transacted JDBC calls for bulk
    reads or inserts.
    is the dominant one? It seems that if you speficy database lock,
    the
    db-is-shared
    should be true, right?Basically it's not true. One will need db-is-shared only if thereare
    changes
    to the database done from outside of the app server.
    (2) For RO bean, if I specify read-idle-timeout to 0, it shouldonly
    load
    once at the first use time, right?I assume read-timeout-seconds was meant. That's right, but if
    an application constantly reads new RO data, RO beans will be
    constantly dropped from cache and new ones will be loaded.
    You may want to looks at server console to see if there's a lot
    of passivation for RO beans.
    (3) For clustering part, have anyone use it in real enterpriseapplication?
    My concern, since database lock is the only way to choose, how aboutthe
    affect
    of ejbLoad to performance, since most transactions are short live,if high
    volume
    transactions are in processing, I am just scared to death about
    the
    ejbLoad overhead.
    ejbLoad is a part of bean's lifecycle, how would you be scared ofit?
    If ejbLoads take too much time, it could be a good idea to profile
    used SQLs. Right index optimization can make huge difference.
    Also you may want cosider using CMP beans to let weblogic
    take care about load optimization.
    (4) If using Optimization lock, all the ejbStore need to do
    version
    check
    or timestamp check, right? How about this overhead?As for optimistic concurrency, it performs quite well as you can
    use lighter isolation levels.
    HTH,
    Slava Imeshev
    "Jinsong Hu" <[email protected]> wrote in message
    news:[email protected]...
    We are using Exclusive Lock for entity bean, because of we do
    not
    want
    to
    load
    data in each new transaction. If we use Database lock, that means
    we
    dedicate
    data access calls to database, if database deadlock happens,
    it's
    hard
    to
    detect,
    while using Exclusive lock, we could detect this dead lock in
    container
    level.
    The problem is, using Exclusive concurrency mode you serialize
    access to data represented by the bean. This aproach has negative
    effect on ablity of application to process concurrent requests.As
    a
    result the app may have performance problems under load.
    Actually, at the beginnning, we did use database lock and usingtransactional
    The fact that you had database deadlocking issues tells that
    application logic / database schema may need some review.
    Normally to avoid deadlocking it's good to group database
    operations mixing in updattes and inserts into one place so
    that db locking sequence is not spreaded in time. Moving to
    forced serialized data access just hides design/implementation
    problems.
    session bean, but the database dead lock and frequent ejbLoad
    really
    kill
    us,
    so we decided to move to use Exclusive lock and to avoid dead
    lock,
    we
    change
    some session bean to non-transactional.Making session beans non-transactions makes container
    creating short-living transactions for each call to entity bean
    methods. It's a costly process and it puts additional load to
    both container and database.
    We could use ReadOnly lock for some entity beans, but since weblogicserver will
    always create local transaction for entity bean, and we found
    transaction
    commit
    is expensive, I am arguing why do we need create container leveltransaction for
    read only bean.First, read-only beans still need to load data. Also, you may seeRO
    beans
    contanly loading data if db-is-shared set to true. Other reason
    can
    be
    that
    RO semantics is not applicable the data presented by RO bean (forinstance,
    you have a reporting engine that constantly produces "RO" data,
    while
    application-consumer of that data retrieves only new data and neverasks
    for "old" data). RO beans are good when there is a relatively stable
    data
    accessed repeatedly for read only access.
    You may want to tell us more about your app, we may be of help.
    Regards,
    Slava Imeshev
    I will post the performance data, let's see how costful
    transaction.commit
    is.
    "Cameron Purdy" <[email protected]> wrote:
    We are currently profiling our product using Borland
    OptmizeIt
    tool,
    and we
    found some interesting issues. Due to our design, we have
    many
    session
    beans which
    are non transactional, and these session beans will access
    entity
    beans
    to
    do
    the reading operations, such as getWeight, getRate, since
    it's
    read
    only,
    there
    is no need to do transaction commit stuff which really takes
    time,
    this
    could
    be seen through the profile. I know weblogic support readonly
    entity
    bean,
    but
    it seems that it only has benefit on ejbLoad call, my test
    program
    shows
    that
    weblogic still creates local transaction even I specified
    it
    as
    transaction not
    supported, and Transaction.commit() will always be called
    in
    postInvoke(),
    from
    the profile, we got that for a single method call, such as
    getRate(),
    80%
    time
    spent on postInvoke(), any suggestion on this? BTW, most of
    our
    entity
    beans are
    using Exclusive lock, that's the reason that we use
    non-transactional
    session
    bean to avoid dead lock problem.I am worried that you have made some decisions based on an improper
    understand of what WebLogic is doing.
    First, you say "non transactional", but from your description
    you
    should
    have those marked as tx REQUIRED to avoid multiple transactions
    (since
    non-transactional just means that the database operation becomesits
    own
    little transaction).
    Second, you say you are using exclusive lock, which you shouldonly
    use
    if
    you are absolutely sure that you need it, (and note that it
    does
    not
    work in
    a cluster).
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "Jinsong Hu" <[email protected]> wrote in message
    news:[email protected]...
    >

  • Non-system session variable is not initializing

    Hi,
    I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.Visible_All_Offices1, has no value definition. (HY000)
    I have tried all possible ways like giving the session variable in SQL result set, giving with quotes and without quotes. In all ways it is throwing the same error.
    I think this variable is not getting initialized when starting the session, is there any way to check it. this variable is also not showing in Manage > Sessions > Variables in OBIEE Admin.
    Please reply, if anyone faced similar issue. I am trying this from last 2 days.
    Thanks,
    Ash.

    When you run this sql query against the database, are you seeing results? and why are you using non-system session variables for this? Session variables are usually used to retrieve data into variables based on the user login.
    Check the following things:
    1) In variable target, make sure the row-wise initialization is checked.
    2) Make sure the cache option is UN-checked
    3) Run the sql against the database and make sure it is retrieving results.
    4) Try this in init block:
    select distinct 'Visible_Regions', NVL(Regions, '0') from SH.Regions_Dim A inner join SH.USER_Table B on A.employee_ID = B.employee_ID;
    -Amith.

  • Mail Server issues: non-SMTP command from localhost

    I just installed Yosemite server. Noticed these messages showing up in the log:
    Oct 28 06:32:08 my_server.net postfix/smtpd[28380]: warning: non-SMTP command from localhost[127.0.0.1]: From: Mrs. M.M Macheda <[email protected]>
    Oct 28 06:32:08 my_server.net postfix/smtpd[28382]: warning: non-SMTP command from localhost[127.0.0.1]: From: Mrs. M.M Macheda <[email protected]>
    Oct 28 06:32:08 my_server.net postfix/smtpd[28380]: disconnect from localhost[127.0.0.1]
    Oct 28 06:32:08 my_server.net postfix/smtpd[28382]: disconnect from localhost[127.0.0.1]
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52786 to [127.0.0.1]:25
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52786
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52787 to [127.0.0.1]:25
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52787
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52788 to [127.0.0.1]:25
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52788
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52789 to [127.0.0.1]:25
    Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52789
    Oct 28 06:32:08 my_server.net postfix/smtpd[28371]: connect from localhost[127.0.0.1]
    Oct 28 06:32:08 my_server.net postfix/smtpd[28371]: improper command pipelining after EHLO from localhost[127.0.0.1]: MAIL FROM:<[email protected]>\\r\\nRCPT TO:<[email protected]\\r>\\r\\nDATA\\r\\nFrom: Mrs. M.M Macheda
    Oct 28 06:32:08 my_server.net postfix/smtpd[28386]: connect from localhost[127.0.0.1]
    Oct 28 06:32:08 my_server.net postfix/smtpd[28386]: improper command pipelining after EHLO from localhost[127.0.0.1]: MAIL FROM:<[email protected]>\\r\\nRCPT TO:<[email protected]\\r>\\r\\nDATA\\r\\nFrom: Mrs. M.M Macheda <he
    Here is output of postconf -n
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    debug_peer_level = 2
    debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = loopback-only
    inet_protocols = all
    mail_owner = _postfix
    mailbox_size_limit = 0
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    message_size_limit = 10485760
    mynetworks = 127.0.0.0/8, [::1]/128
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
    smtpd_tls_ciphers = medium
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    Except me nobody has access to the server yet. Nobody is sending out any emails. Appreciate any help.

    What does /var/log/mail.log have to say (you may need to increase logging level to "Information")?

  • BT Home Hub Manager - how do I get a session start...

    I'm a patient person but really ... I've been trying to get the d*** thing online so I can make some changes and I've veen waiting now for nearly three hours .... only 100 sessions allowed ... I had no idea I wouldn't be able to access my own router settings whenever I wanted when I signed up ... HELP!!!!
    What must I do to get a session started?
    Solved!
    Go to Solution.

    HELP!
    I need to get this sorted .... I don't know who to contact at BT ... there doesn't seem to be anyway to phone anyone for any answers ................... Please can somebody give me some directions .... I actually have some work I'd like to get done .... and my new faster broadband ... while much faster ... isn't allowing me to access my Home Hub to set up my system according to MY needs.   Where else can I go for help????????
    If nobody monitors or reads these posts ..... what's the point?   I may as well just hit my head of my wall as waste MORE of my time doing this!
    PLEASE .... all I want is some answers and a point in the right direction ... maybe a phone number so I could talk to somebody technical would be helpful ..... I can't sit here ALL DAY waiting for some selfish b****** to close their idle session.

  • Gnome session start up programmes

    Running Arch on a Fujitsu Siemens Amilo laptop with 512MB RAM. 2GHz. Athlon proc. -getting a bit long in the tooth..and the laptop
    Which of these can safely be disabled in Gnome session start up programmes?
    1. AT SPI Registry Wrapper
    2. Disk Notifications
    3. Gnome Keyring Daemon
    4. Gnome Login Sound (I guess this is OK to disable upon preference)
    4. Gnome Settings Daemon
    5. Gnome Settings Daemon Helper
    6. Gnome Splash Screen
    7. PolicyKit Authentication Agent
    8. Power Manager
    9. Remote Desktop-DISABLED!
    10. Screensaver-need this one...
    11. Seahorse Daemon
    12. Visual Assistance-DISABLED!
    It is unlikely I will need to connect to this laptop eg. peripherals,remote, hard disks etc..
    I would like to disable as many as possible and maximize free RAM.
    Any tips much appreciated.

    If it's in your Dock click it and hold, check the Options and see if it's set to Open on Login.

  • Disable non-SSL session tracking?

    Hi, all,
    I wonder if one can disable all session tracking in JSP's whenever SSL is not being used? I would like to turn off all cookie-setting and URL-rewriting and use SSL-session tracking only (if I use session-tracking at all on a given page). I also want to specify this behavior programmatically (inside my JSP's) and not in my server's config files.
    I'm basically concerned that if my user leaves one of my HTTPS pages, they will still retain a non-secure cookie with their session information. This seems to be indeed the default behavior: when I run my tests and transition from an HTTPS page to an HTTP one, the browser does store a cookie. I know I can invalidate the session as the next step, but I'd rather have the cookie not being set altogether to begin with. Imagine the situation where the user leaves my HTTPS page for a totally different (HTTP) website: in this setting I won't get a chance to invalidate the session and delete the cookie.
    Any ideas, therefore, on how to programmatically disable non-SSL session-tracking?
    Thanks,
    Dmitri.

    I don't think you can do this programatically.
    However I also don't think it is a problem.
    Cookies are related to zone names aren't they?
    http://mysite and https://mysite are two different
    zones as far as cookies are concerned. One should
    not be able to see the other.
    It issues a new cookie for the http site you are just
    navigating to. That cookie has nothing to do with
    the secure site you just came from, and shouldn't be
    able to tell them any info about the secure site.
    I think you are worrying about something that isn't
    really there.
    What is your concern? That they pick up a JSESSIONID
    from the cookie and can then pretend to be a
    different user?Yes. A cookie is transmitted and stored unencrypted, I imagine (in any case, it should be more easily crackable than SSL). I wish Sun came up with an extension to the Session API where you would be able to explicitly specify which session-tracking protocols you want used and which ones you don't. At the moment their API abstracts and manages too much detail for you.
    I mean, if my site is supposed to be secure while I'm using SSL, then you'd expect that no information about those secure sessions should leak outside the SSL protocol, wouldn't you say?

  • When I go to Ebay a second firefox session starts with advertising on it, how do I prevent this ?

    Whenever I go to EBAY a second Firefox session starts behind this one. Its only noticable when the first session closes.
    Very annoying, is there a setting to prevent this?
    Colin BP

    It is a new Firefox session that displays a Vodafone page with:
    http://img.mediaplex.com/content/0/14879/110068/770x560_vodafone-lp-LG-cookie-20.html?mpck=altfarm.mediaplex.com%2Fad%2Fck%2F14879-110068-2958-0%3Fmpt%3D[CACHEBUSTER]&mpt=[CACHEBUSTER]&mpvc=
    in the address bar, advertising something. Also it pops up on signing out of Ebay.

  • J2EE session variables & Non Random Session IDs

    Our server keeps failing our PCI compliance test due to the Session ID's being non random.
    Description: Web Server Uses Non Random Session IDs       Synopsis: The remote web server generates predictable session IDs.      Impact: The remote web server generates a session ID for each connection.  A session ID is typically used to keep track of the actions of a user while he visits a web site.  The remote server generates non-random session IDs.  An attacker might use this flaw to guess the session IDs of other users and therefore steal their session.  See also : http://pdos.csail.mit.edu/cookies/seq_sessionid.html        Data Received: Sending several requests gives us the following session IDs : CFID=896744 CFID=896745 CFID=896746 CFID=896747 CFID=896748      Resolution: Configure the remote site and CGIs so as to use random session IDs.       Risk Factor: Medium/ CVSS2 Base Score: 6.4       AV:N/AC:L/Au:N/C:P/I:P/A:N
    We are using J2EE session variables which I though was the more secure option. Is there something else you have to do to guarentee that the Session ID's are non random or is this the Compliance test picking up on a false positive?
    P.S. It's a recent migration to CF10, don't know if that has anything to do with it.

    Personally, I use the client scope instead of the session scope so that I don't have to worry about sticky sessions.  That has always worked out nicely for me.
    I read that article you referenced, and it's got some interesting stuff.  In particular, I have seen the client scope database tables not purge as they're supposed to.  And the stuff about preparing, executing, and then unpreparing SQL statements on each request is alarming, if true.
    However, I have to say that I have never, ever, ever, ever had performance issues due to client variables.  Not once.  Whatever performance hit my application may incur from using client variables has, to this point, been completely dwarfed by the performance of the application itself.  And, c'mon, the stuff about being lazy because you don't want to spend precious engineering time worrying about something like session management (which is never going to add value to your product) rather than coding something actually useful to your end users...that seems overly harsh to me.
    I completely agree that storing client vars in the Windows Registry is bananas, as is the defualt 90 day purge limit (though as of CF 9.0.whatever, the default is 1 day, 7 hours, so clearly they've made some changes since this article was written).  But I'm loathe to throw away client-based management.
    I think, getting back to the issue at hand, that this may be a false positive.  CFID is sequential, but CFTOKEN is not; that should really be the end of the story.  I'll see if McAfee will listen.  (-;

  • Three Getting Started Questions with RV180

    I recently purchased the RV180 router. I have a few quick "getting started" questions about using it:
    1. Is the "Static DHCP" the screen I need to use in order to reserve DHCP addresses (see attached)? That's where I've been reserving all my DHCP addresses with. I'm just making sure I have the correct screen.
    2. Do I need to do anything to "backup" my configuration, or will my settings still be around when the RV180 reboots?
    3. Do I need to run a check for firmware update on the RV180, and how do I update the firmware on the RV180 (as well as the SG200-18), or does it usually come with the latest firmware out-of-the-box? If I go ahead and put a service contract on the RV180 and SG200-18, will I receive my firmware updates automatically? Are the part numbers for the service contracts the same for the RV180 and SG200-18?
    Thanks!

    Hello,
    1. Is the "Static DHCP" the screen I need to use in order to reserve DHCP addresses (see attached)? That's where I've been reserving all my DHCP addresses with. I'm just making sure I have the correct screen.
    Yes, that is the correct location to set DHCP reservations.
    2. Do I need to do anything to "backup" my configuration, or will my settings still be around when the RV180 reboots?
    Whenever you hit save after making a change you configuration is saved and will survive a reboot.
    If you would like to save  backup copy of your configration file just go to Administration >> Backup/Restore settings.
    3. Do I need to run a check for firmware update on the RV180, and how do I update the firmware on the RV180 (as well as the SG200-18), or does it usually come with the latest firmware out-of-the-box? If I go ahead and put a service contract on the RV180 and SG200-18, will I receive my firmware updates automatically? Are the part numbers for the service contracts the same for the RV180 and SG200-18?
    You will need to manually update the firmware on the RV180.  That firmware is available here:
    RV180 Firmware
    It is simply one file, that you upload under Administration >> Firmware Upgrade.  There is no bootcode for the routers (like there was with your switch)
    You can locate this in the future the same way you did the SG200 firmware (because this link may change) on the Cisco website.
    As for the service contract, the part number for both of those devices will be CON-SBS-SVC2.
    Hope that helps, and I will try to get to your other questions sometime today as well.  Also since you just bought there you are of course welcome to call in and get some support over the phone, both your devices do come with 1 year of technical support, and it sounds like you are getting or have contracts, so I guess make that 3 years.
    Cisco Small Business Support Center Contact Numbers
    Thanks again for choosing Cisco,
    Christopher Ebert - Advanced Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • ECATT - error in session start

    Hello!
    I have a problem with an eCATT procedure which is a part of a Best Practice for All-in-one installation. When I try to run the eCATT, I get the message
    "Error in session start. Possible causes: 1. Scripting deactivated. Contact administrator. 2. User not logged on within 00:00:40 seconds. 3. Too many sessions open."
    The message appears when the eCATT tries to run the script "/SMB99/SE09_J002_J02 - Create Customizing Request". I don't know is this general scripting error, or specific for this script.
    I have SAP_BASIS release 620, support package level SAPKB62039. The user has SAP_ALL authorisations. I have the parameter "sapgui/user_scripting = TRUE", "Enable scripting" in "Customizing of local layout", and "eCATT and CATT allowed" set. I have only one session open.
    I don't know what else could cause this problem. Could you, please, give me some suggestions on how to resolve this?
    Message was edited by: Igor Barbaric - additional info

    while to tranfer the data from the through if any errors occurs until the errors are the complete the data is not tranfer to the sap system.
    the system compalsory shows the errors .that errors are stored into the error logs (Trasaction is SM35).
    so the sesion method should not return any value.
    in call trasaction method data is directly pass to the sap system.
    so its compalsory return the value.
    because of the call trasaction is the funtion.
    a funtion should return the value madatory.

  • How can one powershell.exe session start up a new powershell.exe session in a new window?

    How can one powershell.exe session start up a new powershell.exe session in a new window?

    Er... good luck with that.  :)  If you know the shortcut that was used to launch the current window, you could pass that shortcut path to Start-Process, but that would only work if you did not move or resize the original window, etc.  For
    example, on my computer I can do this:
    Start-Process 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell\Windows PowerShell.lnk'

  • New session started with an advertizing page and all my tabs are lost

    New session started with an advertizing page and all my tabs are lost. Restore the previous session is not active. How can I restore my tabs?

    This advice might come too late, but, don't exit Firefox! Or if you already did, don't start it back up again!
    ''If Firefox is running:'' Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a new window listed various files and folders. For best results, change the view to "Details".
    (''If Firefox not running, get to this folder by pasting the following in the Run box on the start menu and pressing Enter: %APPDATA%\Mozilla\Firefox\Profiles and then double-click into the most recently updated semi-randomly-named folder you find there.'')
    In the window that launches, scroll down and double-click into the '''sessionstore-backups''' folder. Save all files here to a safe location, such as your Documents folder, so Firefox doesn't overwrite them. We may be able to use them to recover your lost tabs.
    Also, if you return to the main level of the profile folder, you may find some sessionstore files. Copy those to the safe location as well.
    Could you report back on what you found?
    Note: If Windows hides the .js file extension from you, you can change a setting so that you can see all file extensions (this helps when renaming files). This support article has the steps: http://support.microsoft.com/kb/865219 or http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions
    The kinds of files you may find among your sessionstore-backup files are:
    * recovery.js: the windows and tabs in your currently live Firefox session (or, if Firefox is closed, your last session)
    * recovery.bak: a backup copy of recovery.js
    * previous.js: the windows and tabs in your last Firefox session
    * upgrade.js-''build_id'': the windows and tabs in the Firefox session that was live at the time of your last update

  • Identifying the sql for non persistant session

    We have a number of queries which are being directed to our Oracle 10.2.0.5 database.
    I am being informed that there is something wrong with these queries and I need to view the SQL for these queries to investigate.
    The problem I have is that the sequence of events is as follows :
    1. Connection is made to the database.
    2. Query is run and completes in less than 1 second.
    3. Database session is disconnected.
    Normally to investigate this I would connect to the session in question and interrogate the SQL.
    However, because steps 1-3 complete in a split second I am unable to do this.
    Is there any way that I can capture this SQL for investigation?
    Thank you in advance.

    user6502667 wrote:
    We have a number of queries which are being directed to our Oracle 10.2.0.5 database.
    I am being informed that there is something wrong with these queries and I need to view the SQL for these queries to investigate.
    The problem I have is that the sequence of events is as follows :
    1. Connection is made to the database.from which system(s)?
    as which user?
    2. Query is run and completes in less than 1 second.
    3. Database session is disconnected.
    Normally to investigate this I would connect to the session in question and interrogate the SQL.
    However, because steps 1-3 complete in a split second I am unable to do this.
    Is there any way that I can capture this SQL for investigation?
    Thank you in advance.AUDIT

  • AppleScript - Show/Hide dock when ScreenSharing Session starts/ends

    Hello,
    I'd love to have an Apple Script that shows me my Dock when a screen sharing Session starts, and hides it again when the session ends. And it should do this automatically
    Is there a way to achieve that????
    Thanks a lot

    you can do it as follows.
    download and install DoSomethingWhen
    http://www.azarhi.com/Projects/DSW/
    then paste the following into AppleScript Editor
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "System Events"
    tell dock preferences
    set autohide to false
    end tell
    end tell</pre>
    save it as an application. then make a rule using DoSomethingWhen to run the above application whenever ScreenSharing launches. ScreenSharing.app is located in /System/Library/Coreservices
    then make another rule for when screen sharing quits (change false to true in the above script for that one).

Maybe you are looking for